From: Vladimír Vondruš Date: Sun, 10 Dec 2017 23:41:45 +0000 (+0100) Subject: theme: explicit hyphenation of hardcoded content. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=ee2b561467c2c5d1950a3742db1ac854785340f1;p=blog.git theme: explicit hyphenation of hardcoded content. --- diff --git a/pelican-theme/templates/archives.html b/pelican-theme/templates/archives.html index bbcab8e7..bcafc4ec 100644 --- a/pelican-theme/templates/archives.html +++ b/pelican-theme/templates/archives.html @@ -18,8 +18,8 @@ {% endif %} {% if not article_list %}
-

Congratulations!

- The m.css theme is alive and kicking! Now, feed it some articles so it doesn't feel so empty :) +

{{ "Congratulations!"|hyphenate(lang='en') }}

+ {{ "The m.css theme is alive and kicking! Now, feed it some articles so it doesn't feel so empty :)"|hyphenate(lang='en') }}
{% endif %} {% for article in article_list %} diff --git a/pelican-theme/templates/base_blog.html b/pelican-theme/templates/base_blog.html index ecee7d37..c8672696 100644 --- a/pelican-theme/templates/base_blog.html +++ b/pelican-theme/templates/base_blog.html @@ -16,7 +16,7 @@ {% else %}