zola/test_site_i18n/templates/page.html

17 lines
424 B
HTML
Raw Normal View History

{{page.title}}
{{page.content | safe}}
2019-01-04 19:31:31 +00:00
Language: {{lang}}
{% for t in page.translations %}
Translated in {{t.lang|default(value=config.default_language)}}: {{t.title}} {{t.permalink|safe}}
<br><br>
{% set translated_page = get_page(path = t.path) %}
{{ translated_page.content | safe }}
2019-01-04 19:31:31 +00:00
{% endfor %}
{% for taxo_kind, items in page.taxonomies %}
{% set taxo = get_taxonomy(kind=taxo_kind, lang=lang) %}
{% endfor %}