diff options
author | Yaroslav de la Peña Smirnov <contact@yaroslavps.com> | 2018-07-23 05:12:49 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <contact@yaroslavps.com> | 2018-07-23 05:12:49 +0300 |
commit | e55e8a7191eeb0d9a83d29768401e6cf194bbcc0 (patch) | |
tree | b0643e876ce5ab1fdba83be3e55bf5d65a5f35d5 /weblog/templates | |
parent | 9c08329058082f61e2da1a93a633c13560ede4da (diff) | |
download | w3blog-e55e8a7191eeb0d9a83d29768401e6cf194bbcc0.tar.gz w3blog-e55e8a7191eeb0d9a83d29768401e6cf194bbcc0.zip |
img-fluid on preview image fix
Diffstat (limited to 'weblog/templates')
-rwxr-xr-x | weblog/templates/weblog/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
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">
|