sito-hackit-20/themes/maya0x17/templates/page.html
2020-08-04 15:24:47 +02:00

24 líneas
683 B
HTML

{% extends "base.html" %}
{% block html_lang %}{{ page.lang }}{% endblock %}
{% block title %}{{ page.title }}{% endblock %}
{% block extra_head %}
{% import 'translations.html' as translations with context %}
{% if translations.entry_hreflang(page) %}
{{ translations.entry_hreflang(page) }}
{% endif %}
{% endblock %}
{% block body_classes %}
page-slug--{{page.slug}}
{% endblock %}
{% block content %}
<section id="content" class="body page-slug--{{page.slug}}">
<h1 class="entry-title">{{ page.title }}</h1>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{{ page.content }}
</section>
{% endblock %}