manbytesgnu_site

Source files for manbytesgnu.org
git clone git://holbrook.no/manbytesgnu_site.git
Info | Log | Files | Refs

page.html (766B)


      1 {% extends "base.html" %}
      2 {% block html_lang %}{{ page.lang }}{% endblock %}
      3 
      4 {% block title %}{{ SITENAME }} - {{ page.title|striptags }}{%endblock%}
      5 
      6 {% block head %}
      7   {{ super() }}
      8 
      9   {% import 'translations.html' as translations with context %}
     10   {% if translations.entry_hreflang(page) %}
     11     {{ translations.entry_hreflang(page) }}
     12   {% endif %}
     13 {% endblock %}
     14 
     15 {% block content %}
     16     <h1 class="top-body-title">{{ page.title }}</h1>
     17     <section id="content" class="body">
     18     {% import 'translations.html' as translations with context %}
     19     {{ translations.translations_for(page) }}
     20 
     21     {{ page.content }}
     22     </section>
     23 
     24     {% if page.modified %}
     25         <p>
     26         Last updated: {{ page.locale_modified }}
     27         </p>
     28     {% endif %}
     29 {% endblock %}