Translate waffle meta blog
Former-commit-id: 041439d4e135473c3f136bb1dfeb1a89fd58d77a [formerly f8e194d684dec301f6dc1aca0d10f0fd23915043] [formerly e6232ebf75423c60262d593f2ae67b2bd24c68fa [formerly 6fbd6648444c58ce5b9ab3cd7e34a43d00ec6ffe]] Former-commit-id: 6534205710be743b982fe43e48fefcdb354b1052 [formerly 853e36f16c60920d9db4ffdf2b1132d24b1ccdf0] Former-commit-id: de50ce5c955a8d47e08d227cfec74c1a4222b37f
This commit is contained in:
parent
822f56f03f
commit
cc2127e464
2 changed files with 9 additions and 6 deletions
|
@ -22,6 +22,7 @@ twitter = @C3WOC
|
|||
mastodon = @C3WOC@chaos.social
|
||||
invite = Mach bei uns mit
|
||||
created = Geschrieben von
|
||||
read = Weiter lesen
|
||||
|
||||
[en]
|
||||
close = close
|
||||
|
@ -44,5 +45,5 @@ twitter = @C3WOC
|
|||
mastodon = @C3WOC@chaos.social
|
||||
invite = Join us
|
||||
created = Created by
|
||||
|
||||
read = Continue reading
|
||||
|
||||
|
|
|
@ -21,10 +21,11 @@
|
|||
<div class="inner">
|
||||
<div class="content">
|
||||
<h2 class="major">{{ post.title }}</h2>
|
||||
<p class="meta">{% if post.alt == 'en' %}Created by{% else %}Verfasst von {% endif %}{%
|
||||
if post.twitter_handle %}<a href="https://chaos.social/@{{ post.twitter_handle }}">{{ post.author or post.twitter_handle }}</a>{%
|
||||
else %}{{ post.author }}{%
|
||||
endif %} {% if post.alt == 'en' %}on {{ post.pub_date }}{% else %}am {{ post.pub_date.strftime('%d. %m. %Y') }}{% endif %}</p>
|
||||
<p class="meta">{% if bag('translate', post.alt, 'created')
|
||||
%}{{ bag('translate', post.alt, 'created') }}{% else %}Verfasst von{% endif %}{%
|
||||
if post.twitter_handle %}<a href="https://chaos.social/@{{ post.twitter_handle }}">{{ post.author or post.twitter_handle }}</a>{%
|
||||
else %}{{ post.author }}{%
|
||||
endif %} {% if post.alt == 'en' %}on {{ post.pub_date }}{% else %}am {{ post.pub_date.strftime('%d. %m. %Y') }}{% endif %}</p>
|
||||
</div>
|
||||
</section>
|
||||
{% endif %}
|
||||
|
@ -36,7 +37,8 @@
|
|||
{% if from_index == False %}
|
||||
{{ post.privatebody }}
|
||||
{% else %}
|
||||
<h2 class="major">{% if post.alt == 'en' %}continue reading{% else %}Weiter lesen{% endif %}</h2>
|
||||
<h2 class="major">{% if bag('translate', post.alt, 'read')
|
||||
%}{{ bag('translate', post.alt, 'read') }}{% else %}Weiter lesen{% endif %}</h2>
|
||||
<a class="button special fit" href="{{ post|url }}">{{ post.title }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue