diff options
author | Yaroslav de la Peña <contact@yaroslavps.com> | 2018-07-19 22:58:47 +0300 |
---|---|---|
committer | Yaroslav de la Peña <contact@yaroslavps.com> | 2018-07-19 22:58:47 +0300 |
commit | 6d09e26242a811ed0593b9533d60bf2a180973ae (patch) | |
tree | 3bcce5f829f7e409329d838f3b575a4d89cd0e74 | |
parent | f08af5db27fcda1d3b3bd7d176ace2141488b6ac (diff) | |
download | w3blog-6d09e26242a811ed0593b9533d60bf2a180973ae.tar.gz w3blog-6d09e26242a811ed0593b9533d60bf2a180973ae.zip |
fixed post author on post.html
-rwxr-xr-x | setup.py | 2 | ||||
-rwxr-xr-x | weblog/templates/weblog/post.html | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 %} <div class="container-fluid blogpost"> <h2 class="post-title">{% if post_translation %}{{ post_translation.title }}{% else %}{{ post.title }}{% endif %}</h2> - <p class="publish-info">{% blocktrans with publish_date=post.publish_date %}Published on <span class="post-publish-date">{{ publish_date }}</span>{% endblocktrans %}{% if post.author %}{% blocktrans with author=post.author context 'Written by (Author)' %}, by <span class="post-author">{{ author }}</span>{% endblocktrans %}{% endif %}</p> + <p class="publish-info">{% blocktrans with publish_date=post.publish_date %}Published on <span class="post-publish-date">{{ publish_date }}</span>{% endblocktrans %}{% if post_author %}{% blocktrans with author=post_author context 'Written by (Author)' %}, by <span class="post-author">{{ author }}</span>{% endblocktrans %}{% endif %}</p> {% if post_languages %} <form> <div class="form-group"> |