Support article translation
This commit is contained in:
parent
a6f12ec781
commit
1802e84241
5 changed files with 24 additions and 1 deletions
|
@ -13,6 +13,8 @@
|
|||
{% block content %}
|
||||
<article class="single">
|
||||
<header>
|
||||
{% import 'partial/translations.html' as translations with context %}
|
||||
{{ translations.translations_for(article) }}
|
||||
<h1 id="{{ article.slug }}">{{ article.title }}</h1>
|
||||
<p>
|
||||
{{ _('Posted on %(when)s in %(category)s',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue