diff --git a/static/css/main.css b/static/css/main.css index 7aae2b2..2c90b34 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -111,6 +111,13 @@ a { text-decoration: none; color: #FF6600; } +.mg-tag { + margin: 0 .5rem; + color: #FF6600; } + .mg-tag:hover { + text-decoration: none; + color: #FF6600; } + .mg-list-title { font-size: 2em; line-height: 42px; diff --git a/templates/article.html b/templates/article.html index 113dea8..7c3a0af 100644 --- a/templates/article.html +++ b/templates/article.html @@ -74,6 +74,8 @@ {% if not MG_DISABLE_SUMMARY %}

{{ article.summary|striptags }}

{% endif %}
{{ article.content }}
+ {% set bullet = joiner(" • ") %} +
{% for tag in article.tags %}{{bullet()}}{{tag.name}}{% endfor %}

@@ -94,5 +96,10 @@ comments powered by Disqus {% endif %} + {% if ISSO_BASE_URL %} + +
+ {% endif %} + {% endblock %} diff --git a/templates/partials/article-excerpt.html b/templates/partials/article-excerpt.html index d82068b..04d2d33 100644 --- a/templates/partials/article-excerpt.html +++ b/templates/partials/article-excerpt.html @@ -3,6 +3,8 @@

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

{% if not MG_DISABLE_SUMMARY %}

{{ article.summary|striptags|striptags }}

{% endif %}
{{ article.content }}
+ {% set bullet = joiner(" • ") %} +
{% for tag in article.tags %}{{bullet()}}{{tag.name}}{% endfor %}

diff --git a/templates/partials/article-short.html b/templates/partials/article-short.html index 9bf95f6..b1b5a6b 100644 --- a/templates/partials/article-short.html +++ b/templates/partials/article-short.html @@ -5,6 +5,8 @@

{{ article.summary|striptags|striptags }}

{% if not MG_DISABLE_SUMMARY %}

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

{% endif %} Read More + {% set bullet = joiner(" • ") %} +
{% for tag in article.tags %}{{bullet()}}{{tag.name}}{% endfor %}