aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <contact@yaroslavps.com>2018-07-23 05:12:49 +0300
committerYaroslav de la Peña Smirnov <contact@yaroslavps.com>2018-07-23 05:12:49 +0300
commite55e8a7191eeb0d9a83d29768401e6cf194bbcc0 (patch)
treeb0643e876ce5ab1fdba83be3e55bf5d65a5f35d5
parent9c08329058082f61e2da1a93a633c13560ede4da (diff)
downloadw3blog-e55e8a7191eeb0d9a83d29768401e6cf194bbcc0.tar.gz
w3blog-e55e8a7191eeb0d9a83d29768401e6cf194bbcc0.zip
img-fluid on preview image fix
-rwxr-xr-xsetup.py2
-rwxr-xr-xweblog/templates/weblog/index.html4
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 @@
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></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>
<hr>
- {% if post.preview_image %}<img class="img-responsive preview-img" src="{{ post.preview_image.url }}">{% endif %}
+ {% if post.preview_image %}<img class="img-fluid preview-img" src="{{ post.preview_image.url }}">{% endif %}
{{ post.preview_text|safe }}
<hr>
<div class="text-right read-more-wrapper">
@@ -54,7 +54,7 @@
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></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>
<hr>
- {% if post.preview_image %}<img class="img-responsive preview-img" src="{{ post.preview_image.url }}">{% endif %}
+ {% if post.preview_image %}<img class="img-fluid preview-img" src="{{ post.preview_image.url }}">{% endif %}
{{ post.preview_text|safe }}
<hr>
<div class="text-right read-more-wrapper">