{{ article.title }}
+{{ article.title }}
{% if CATEGORY_SAVE_AS %}{{ article.category }}{% endif %}
- {% if DISQUS_SITENAME %},
{% endif %}
+ {% if DISQUS_SITENAME %},
{% endif %}
{{ article.summary|striptags }}
{% endif %} diff --git a/templates/categories.html b/templates/categories.html index ffeed50..2bb261b 100644 --- a/templates/categories.html +++ b/templates/categories.html @@ -4,7 +4,7 @@ {% block content %}Categories
+Categories
{% for category, articles in categories %}{{ category|capitalize }}
{% for article in articles %} diff --git a/templates/page.html b/templates/page.html index b0c0285..c2c6f12 100644 --- a/templates/page.html +++ b/templates/page.html @@ -27,7 +27,7 @@ {% block content %}{{ page.title }}
+{{ page.title }}
{{ article.title|e }}
{% if CATEGORY_SAVE_AS %} • {{ article.category }}{% endif %}
- {% if DISQUS_SITENAME %} •
{% endif %}
+ {% if DISQUS_SITENAME %} •
{% endif %}
{{ article.summary|striptags|striptags }}
{% endif %}{{ article.title|e }}
{% if CATEGORY_SAVE_AS %} • {{ article.category }}{% endif %}
- {% if DISQUS_SITENAME %} •
{% endif %}
+ {% if DISQUS_SITENAME %} •
{% endif %}
{{ article.summary|striptags|striptags }}
{% if not MG_DISABLE_SUMMARY %}{{ ' '.join(article.content.split(' ')[:75])|striptags|striptags }}...
{% endif %} diff --git a/templates/past_readings.html b/templates/past_readings.html index 162a547..8dc6534 100644 --- a/templates/past_readings.html +++ b/templates/past_readings.html @@ -4,7 +4,7 @@ {% block content %}