From c9d2bbeea44a9e691ba214d0be8566fe0d59fd77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Sun, 15 Jul 2018 02:39:43 +0300 Subject: languages list in post view --- weblog/templates/weblog/post.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'weblog/templates') diff --git a/weblog/templates/weblog/post.html b/weblog/templates/weblog/post.html index d602223..5a389f8 100755 --- a/weblog/templates/weblog/post.html +++ b/weblog/templates/weblog/post.html @@ -5,6 +5,18 @@

{% if post_translation %}{{ post_translation.title }}{% else %}{{ post.title }}{% endif %}

{% blocktrans with publish_date=post.publish_date %}Published on {{ publish_date }}{% endblocktrans %}{% if post_author %}{% blocktrans with author=post_author context 'Written by (Author)' %}, by {{ author }}{% endblocktrans %}{% endif %}

+ {% if languages %} +
+
+ + +
+
+ {% endif %}
{% if post_translation %} {{ post_translation.content|safe }} -- cgit v1.2.3