diff --git a/templates/base.html b/templates/base.html index 5fbf67e..e4243dc 100644 --- a/templates/base.html +++ b/templates/base.html @@ -193,7 +193,7 @@

{{ FOOTER }}

-

Powered by Pelican.
Theme mg by Luca Chiricozzi.

+

Powered by Pelican.
Theme mg thanks to Luca Chiricozzi

diff --git a/templates/partials/article-excerpt.html b/templates/partials/article-excerpt.html index c81903d..1cb4ed5 100644 --- a/templates/partials/article-excerpt.html +++ b/templates/partials/article-excerpt.html @@ -1,6 +1,9 @@

{{ article.title|e }}

-

{{ article.category }}{% if DISQUS_SITENAME %} •
{% endif %}

+

+ {% if CATEGORY_SAVE_AS %} • {{ article.category }}{% endif %} + {% if DISQUS_SITENAME %} •
{% endif %} +

{% if not MG_DISABLE_SUMMARY %}

{{ article.summary|striptags|striptags }}

{% endif %}
{{ article.content }}
{% include "partials/inline-tags.html" %} diff --git a/templates/partials/article-short.html b/templates/partials/article-short.html index aae8036..5675c56 100644 --- a/templates/partials/article-short.html +++ b/templates/partials/article-short.html @@ -6,7 +6,10 @@ {% endif %}

{{ article.title|e }}

- +

{{ article.summary|striptags|striptags }}

{% if not MG_DISABLE_SUMMARY %}

{{ ' '.join(article.content.split(' ')[:75])|striptags|striptags }}...

{% endif %}