{{ article.title }}
{% include "articles/metadata_snippet.html" %}{{ article.get_abstract|safe }}
- +No article here. Come back later 🙂
diff --git a/articles/templates/articles/metadata_snippet.html b/articles/templates/articles/metadata_snippet.html index 5329d6a..4b3c768 100644 --- a/articles/templates/articles/metadata_snippet.html +++ b/articles/templates/articles/metadata_snippet.html @@ -1,12 +1,9 @@ -{% if user.is_authenticated %} -- Admin -
-{% endif %}{% if article.published_at %} {{ article.published_at|date }} + {% include "articles/admin_link_snippet.html" %} {% else %} {{ article.updated_at|date }} + {% include "articles/admin_link_snippet.html" %} {% endif %}