theme/templates/page.html

Thu, 05 Nov 2020 23:28:39 +0100

author
David Douard <david.douard@sdf3.org>
date
Thu, 05 Nov 2020 23:28:39 +0100
changeset 129
42a19a0d1c99
parent 36
9507107a1133
permissions
-rw-r--r--

Add a few missing :alt: to images

far from being done everywhere however...

{% 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