theme/templates/page.html

Wed, 16 Oct 2019 21:52:38 +0200

author
David Douard <david.douard@sdfa3.org>
date
Wed, 16 Oct 2019 21:52:38 +0200
changeset 114
33cd55d481ba
parent 36
9507107a1133
permissions
-rw-r--r--

theme: add support for rss feed

{% extends "base.html" %}
{% block title %}{{ page.title }}{%endblock%}

{% block pageheader %}
<div class="hp-header-inner">
    <div class="page-header">
        <div class="content-header">
            <div id="title-block">
            <h1>{{ page.title }}</h1>
            </div>
        </div>
    </div>
</div>
{% endblock %}

{% block content %}
    <section class="article">
    {% import 'translations.html' as translations with context %}
    {{ translations.translations_for(page) }}

    {{ page.content }}
    </section>
{% endblock %}

mercurial