Add translation for post warning and some minor fix

This commit is contained in:
Hamid R. K. Pishghadam
2021-01-03 21:50:24 +03:30
parent fad609f744
commit f779303472
3 changed files with 28 additions and 6 deletions

View File

@@ -15,7 +15,7 @@
<h2 class="post-title"><a href="{{ post.path | safe }}">{{ post.title }}</a></h2>
<div class="post-summary">
{{ post.summary | safe }}
<a class="read-more" href="{{ post.path | safe }}"><em>{{ trans(key="readmore", lang=lang) }}</em></a>
<a class="read-more" href="{{ post.path | safe }}"><em>{{ trans(key="readmore", lang=lang) | safe }}</em></a>
{%- if lang and not_translated and lang != config.default_language -%}
<aside class="no-translation">