blob: 999333afb7f06ea03519de801e6f6ea097108780 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{% extends "base.html" %}
{% block title %}{{ SITENAME }} - {{ page.title }}{%endblock%}
{% block translation %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
{% block content_title %}
<h1 class="entry-title">{{ page.title }}</h1>
{% endblock %}
{% block content %}
{% if articles %}
{% for article in dates %}
<article class="hentry">
<h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
<div class="entry-content">
{{ article.summary }}
<a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a>
</div><!-- /.entry-content -->
</article>
{% endfor %}
{% else %}
<section id="content" class="body">
<header>
<h1>Pages</h1>
</header>
<div>
<ul>
{% for page in PAGES %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
</div><!-- /.entry-content -->
</section>
{% endif %}
{% endblock %}
|