summaryrefslogtreecommitdiff
path: root/theme/cccevents/templates/index.html
diff options
context:
space:
mode:
authorHans-Peter Oeri <hp@oeri.ch>2018-10-25 11:32:42 +0000
committerHans-Peter Oeri <hp@oeri.ch>2018-10-25 11:32:42 +0000
commitff89112e87a34156fd0d4a10a10fd43b6f525cbd (patch)
tree7bf3bcf334051dbf2f8d96981b8d199470064eac /theme/cccevents/templates/index.html
parent17a536b7ffba296f1fc71337ce8aa2910f5ed3fc (diff)
parentc8cfe63aac73a92ae02354a5306ca5480808daff (diff)
Merge branch 'redohp' into 'master'
re-do site in schiedsstelle layout See merge request KampfCaspar/help.ccc.de!1
Diffstat (limited to 'theme/cccevents/templates/index.html')
-rw-r--r--theme/cccevents/templates/index.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/theme/cccevents/templates/index.html b/theme/cccevents/templates/index.html
new file mode 100644
index 0000000..b1e1e56
--- /dev/null
+++ b/theme/cccevents/templates/index.html
@@ -0,0 +1,31 @@
1{% extends "base.html" %}
2
3{% block content_title %}{% endblock %}
4
5{% block content %}
6{% if articles %}
7 {% for article in articles_page.object_list %}
8 <article class="hentry">
9 <h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2>
10
11 <div class="entry-content">
12 {{ article.summary }}
13 <a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a>
14 </div><!-- /.entry-content -->
15 </article>
16 {% endfor %}
17{% else %}
18<section id="content" class="body">
19 <header>
20 <h1>Pages</h1>
21 </header>
22 <div>
23 <ul>
24 {% for page in PAGES %}
25 <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
26 {% endfor %}
27 </ul>
28 </div><!-- /.entry-content -->
29</section>
30{% endif %}
31{% endblock %}