aboutsummaryrefslogtreecommitdiff
path: root/weblog/templates
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2019-01-10 23:30:05 +0300
committerYaroslav <contact@yaroslavps.com>2019-01-10 23:30:05 +0300
commitd22fe825fbf34842f9fa93c2f533677a34816984 (patch)
treecf5068a8cabfc61e289a7c4faa4e6a28672d2fca /weblog/templates
parent96fc77becc1d89ca555dd65d1a79ffa178cc3a5c (diff)
downloadw3blog-d22fe825fbf34842f9fa93c2f533677a34816984.tar.gz
w3blog-d22fe825fbf34842f9fa93c2f533677a34816984.zip
improve post preview system, fix incorrect translation title on breadcrumbs
Diffstat (limited to 'weblog/templates')
-rwxr-xr-xweblog/templates/weblog/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/weblog/templates/weblog/index.html b/weblog/templates/weblog/index.html
index 0f8d79a..7d8d723 100755
--- a/weblog/templates/weblog/index.html
+++ b/weblog/templates/weblog/index.html
@@ -40,7 +40,7 @@
<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-fluid preview-img" src="{{ post.preview_image.url }}">{% endif %}
- {{ post.preview_text|safe }}
+ <p>{{ post.preview_text|safe }}</p>
<hr>
<div class="text-right read-more-wrapper">
<a class="read-more" href="{{ post.url }}">{% trans 'Read more...' %}</a>
@@ -55,7 +55,7 @@
<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-fluid preview-img" src="{{ post.preview_image.url }}">{% endif %}
- {{ post.preview_text|safe }}
+ <p>{{ post.preview_text|safe }}</p>
<hr>
<div class="text-right read-more-wrapper">
<a class="read-more" href="{{ post.url }}">{% trans 'Read more...' %}</a>