diff --git a/README.md b/README.md index 1ddd15d..6f58dde 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ These fixes have been imported upstream. ## Blog copyright and license -Copyright (C) Franco Masotti +Copyright (C) Franco Masotti CC-BY-SA 4.0 diff --git a/_config.yml b/_config.yml index ce4777b..0d79c11 100644 --- a/_config.yml +++ b/_config.yml @@ -4,7 +4,7 @@ description: "A blog about libre software experiences and everything else # This should point to your website source. website_source: https://gitlab.com/frnmst/frnmst.gitlab.io # These should point to the-flux-of-thought repository. -software_version: "0.0.3" +software_version: "0.0.4" # The following is used along the software_version variable to build the # software version url. software_release_base_url: https://github.com/frnmst/the-flux-of-thought/releases/tag diff --git a/_includes/page_navigation.html b/_includes/page_navigation.html index 4e0cb82..e91aba7 100644 --- a/_includes/page_navigation.html +++ b/_includes/page_navigation.html @@ -6,7 +6,7 @@ Homepage">Home {% endif %}
  • - Top + Top
  • diff --git a/_includes/post_navigation.html b/_includes/post_navigation.html index e4b92cf..653ecea 100644 --- a/_includes/post_navigation.html +++ b/_includes/post_navigation.html @@ -13,7 +13,7 @@ title="PREV: {{ page.previous.title }}"><<
  • - Top + Top
  • {% if page.next.url %} diff --git a/_includes/tag_list.html b/_includes/tag_list.html index 3c4623a..467270d 100644 --- a/_includes/tag_list.html +++ b/_includes/tag_list.html @@ -29,18 +29,20 @@ if all freqencies are different we get O(n^2) {% endcomment %}
      {% for tag in sorted_tags_by_freq %} -
    • {% assign tagg = tag | slugify %} {% if page.is_home %} {% assign freq = tag_frequency_iterator[forloop.index0] | plus: 0 %} {% if freq >= site.min_tag_score %} {% capture link %}{{ site.baseurl }}/tags/#{{ tagg }}{% endcapture %} - {{ tag }} [{{ freq }}] +
    • + {{ tag }} [{{ freq }}] +
    • {% endif %} {% else %} - {{ tag }} +
    • + {{ tag }} +
    • {% endif %} - {% endfor %}
    diff --git a/_layouts/default.html b/_layouts/default.html index f1c1bcc..9cc2717 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,7 +3,8 @@ layout: compress --- - +{% comment %}See https://www.bennadel.com/blog/822-using-body-id-as-a-back-to-top-page-anchor.htm#comments_448{% endcomment %} + {% include head.html %} diff --git a/_pages/index.md b/_pages/index.md index 2da7b76..ca1bb4e 100644 --- a/_pages/index.md +++ b/_pages/index.md @@ -1,6 +1,7 @@ --- layout: default permalink: index.html +excerpt: none ---
    @@ -15,22 +16,27 @@ permalink: index.html {% endif %} {% endunless %}
    +{% comment %}Start list here instead after "Year" to simplify liquid code. This works nonetheless.{%endcomment %} +
    {% endfor %}
    diff --git a/_sass/main.scss b/_sass/main.scss index 9cefdbb..760ec4e 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -151,6 +151,17 @@ ul { } } +.post-list { + margin: 0; + padding: 0; + list-style-type: none; + -webkit-padding-start: 0; +} + +.post-list-metadata, .post-list-div, .post-list-excerpt { + display: block; +} + .post-metadata, .page-metadata, .footer, .comment { box-shadow: inset 0 0 0.40625em grey; background-color: #ffffff; @@ -333,21 +344,26 @@ ul { .footer { .license { font-weight: bold; + img { + /* Align the CC BY SA image with the text. */ + max-width: 100%; + height: auto; + display: inline; + margin-right: none; + margin-left: none; + margin-bottom: -0.203125em; + } } - font-size: 0.8125em; } - img { max-width: 100%; height: auto; - - /* Disable antialiasing when the picure is scaled. */ - -ms-interpolation-mode: nearest-neighbor; - image-rendering: -webkit-optimize-contrast; - image-rendering: -moz-crisp-edges; - image-rendering: pixelated; + display: block; + margin-right: auto; + margin-left: auto; + margin-bottom: 0.8125em; } .img img, .figure { @@ -368,17 +384,22 @@ img { } .text { color: #ffffff; - border-bottom-left-radius: 0.8125em; - border-bottom-right-radius: 0.8125em; } } .figure { - width: 99%; + display: auto; + margin-right: auto; + margin-left: auto; + justify-content: center; background-color: #ffffff; + margin-bottom: 0.8125em; img { - width: 100%; - margin-right: 0; + max-width: 100%; + height: auto; + display: block; + margin-right: auto; + margin-left: auto; border-top-left-radius: 0.8125em; border-top-right-radius: 0.8125em; }