Don't show 'not translated yet' for default language

This commit is contained in:
Philipp Oppermann
2020-02-17 11:20:57 +01:00
parent 0ae8c972bb
commit 127f446856

View File

@@ -12,7 +12,7 @@
{{ post.summary | safe}} {{ post.summary | safe}}
<a class="read-more" href="/{{ post.path | safe }}"><em>read&nbsp;more&nbsp;»</em></a> <a class="read-more" href="/{{ post.path | safe }}"><em>read&nbsp;more&nbsp;»</em></a>
{% if lang and not_translated %} {% if lang and not_translated and lang != config.default_language %}
<aside class="no-translation"> <aside class="no-translation">
(This post is not translated yet.) (This post is not translated yet.)
</aside> </aside>