From e55e8a7191eeb0d9a83d29768401e6cf194bbcc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Mon, 23 Jul 2018 05:12:49 +0300 Subject: img-fluid on preview image fix --- setup.py | 2 +- weblog/templates/weblog/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 0120710..69b7ae2 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.2', + version='0.4.3', packages=find_packages(), include_package_data=True, license='BSD License', diff --git a/weblog/templates/weblog/index.html b/weblog/templates/weblog/index.html index 331989b..077fc1f 100755 --- a/weblog/templates/weblog/index.html +++ b/weblog/templates/weblog/index.html @@ -39,7 +39,7 @@

{{ post.title }}

{% 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.preview_image %}{% endif %} + {% if post.preview_image %}{% endif %} {{ post.preview_text|safe }}
@@ -54,7 +54,7 @@

{{ post.title }}

{% 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.preview_image %}{% endif %} + {% if post.preview_image %}{% endif %} {{ post.preview_text|safe }}
-- cgit v1.2.3