From 6d09e26242a811ed0593b9533d60bf2a180973ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a?= Date: Thu, 19 Jul 2018 22:58:47 +0300 Subject: fixed post author on post.html --- setup.py | 2 +- weblog/templates/weblog/post.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 787a31e..7d2d044 100755 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='w3blog', - version='0.4-testing.14', + version='0.4-testing.15', packages=find_packages(), include_package_data=True, license='BSD License', diff --git a/weblog/templates/weblog/post.html b/weblog/templates/weblog/post.html index ea2cd98..dfa5c6e 100755 --- a/weblog/templates/weblog/post.html +++ b/weblog/templates/weblog/post.html @@ -4,7 +4,7 @@ {% block blog_content_block %}

{% 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 {% endblocktrans %}{% 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 {% endblocktrans %}{% endif %}

{% if post_languages %}
-- cgit v1.2.3