diff --git a/templates/archives.html b/templates/archives.html index d3ff30e..b0c1d18 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -1,4 +1,5 @@ {% extends "base.html" %} + {% block title %} – {{ _('Archives') }}{% endblock %} {% block content %} @@ -9,12 +10,16 @@
{% set previous_date = False %} + {% for article in dates %} {% if article.locale_date != previous_date %} {% set previous_date = article.locale_date %} -
{{ article.locale_date }}
+
{{ article.locale_date }}
{% endif %} -
{{ article.title }}
+ +
+ {{ article.title }} +
{% endfor %}
diff --git a/templates/article.html b/templates/article.html index 26fa99b..2f12053 100644 --- a/templates/article.html +++ b/templates/article.html @@ -31,7 +31,7 @@ category='%s'|format(SITEURL, article.category.url, article.category)|safe) }} {% if 'post_stats' in PLUGINS %} - • {{ article.stats['read_mins'] }} min read + • {{ _('%(minutes) min read', minutes=article.stats['read_mins']) }} {% endif %}

diff --git a/templates/base.html b/templates/base.html index bc6b122..6971ed2 100644 --- a/templates/base.html +++ b/templates/base.html @@ -136,11 +136,7 @@ {% include "partial/gtm.html" %} {% endif %} - + {% if GOOGLE_TAG_MANAGER %} {% include "partial/gtm_noscript.html" %} {% endif %} @@ -153,22 +149,25 @@ {{ SITETITLE }} {% endif %} -

{{ SITETITLE }}

+ +

+ {{ SITETITLE }} +

{% if SITESUBTITLE %}

{{ SITESUBTITLE }}

{% endif %} + {% if 'tipue_search' in PLUGINS %} {% endif %} + {% if pages or LINKS %} @@ -197,9 +204,9 @@ {% for name, link in SOCIAL %}
  • - - -
  • + + + {% endfor %} @@ -213,7 +220,6 @@ (adsbygoogle = window.adsbygoogle || []).push({}); {% endif %} -
    {% if GOOGLE_ADSENSE and GOOGLE_ADSENSE.ads.main_menu %} @@ -270,18 +276,18 @@ {% include "partial/jsonld.html" %} - {% block additional_js %}{% endblock %} - {% if GITHUB_CORNER_URL %} - {% include 'partial/github.html' %} + {% include 'partial/github.html' %} {% endif %} {% if 'tipue_search' in PLUGINS %} {% endif %} + + {% block additional_js %}{% endblock %} diff --git a/templates/categories.html b/templates/categories.html index a963c24..eeaa841 100644 --- a/templates/categories.html +++ b/templates/categories.html @@ -10,7 +10,9 @@
    diff --git a/templates/index.html b/templates/index.html index 008ddc3..6a7ee71 100644 --- a/templates/index.html +++ b/templates/index.html @@ -29,7 +29,7 @@ {% endif %} {% if 'post_stats' in PLUGINS %} - • {{ article.stats['read_mins'] }} min read + • {{ _('%(minutes) min read', minutes=article.stats['read_mins']) }} {% endif %}

    @@ -41,7 +41,10 @@ {{ article.summary }} {% if article.content != article.summary %}
    - {{ _('Continue reading') }} + + {{ _('Continue reading') }} + {% endif %} {% else %} {{ article.content }} @@ -65,5 +68,4 @@ {% endif %} - {% endblock %} diff --git a/templates/period_archives.html b/templates/period_archives.html index d3ff30e..24f494e 100644 --- a/templates/period_archives.html +++ b/templates/period_archives.html @@ -9,12 +9,14 @@
    {% set previous_date = False %} + {% for article in dates %} {% if article.locale_date != previous_date %} {% set previous_date = article.locale_date %} -
    {{ article.locale_date }}
    +
    {{ article.locale_date }}
    {% endif %} -
    {{ article.title }}
    + +
    {{ article.title }}
    {% endfor %}
    diff --git a/templates/search.html b/templates/search.html index 9311c14..df8c004 100644 --- a/templates/search.html +++ b/templates/search.html @@ -1,4 +1,7 @@ -{% if 'tipue_search' in PLUGINS %} {% extends 'base.html' %} {% block title %} {{ _('Search') }} - {{ SITENAME|striptags }} {% endblock title %} {% block content %} +{% if 'tipue_search' in PLUGINS %} +{% extends 'base.html' %} +{% block title %}{{ _('Search') }} - {{ SITENAME|striptags }}{% endblock title %} +{% block content %}