theme/templates/page.html

Sat, 19 Mar 2016 00:50:44 +0100

author
David Douard <david.douard@logilab.fr>
date
Sat, 19 Mar 2016 00:50:44 +0100
changeset 42
3c30fc0f8ce0
parent 36
9507107a1133
permissions
-rw-r--r--

[theme] add '(last updated on xxx)' in article timestamps when available

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