diff options
author | Hans-Peter Oeri <hp@oeri.ch> | 2018-10-25 13:27:51 +0200 |
---|---|---|
committer | Hans-Peter Oeri <hp@oeri.ch> | 2018-10-25 13:27:51 +0200 |
commit | c8cfe63aac73a92ae02354a5306ca5480808daff (patch) | |
tree | 7bf3bcf334051dbf2f8d96981b8d199470064eac /theme/cccevents/templates | |
parent | 17a536b7ffba296f1fc71337ce8aa2910f5ed3fc (diff) |
re-do site in schiedsstelle layout
Diffstat (limited to 'theme/cccevents/templates')
-rw-r--r-- | theme/cccevents/templates/.empty | 0 | ||||
-rw-r--r-- | theme/cccevents/templates/archives.html | 16 | ||||
-rw-r--r-- | theme/cccevents/templates/article.html | 40 | ||||
-rw-r--r-- | theme/cccevents/templates/author.html | 7 | ||||
-rw-r--r-- | theme/cccevents/templates/authors.html | 15 | ||||
-rw-r--r-- | theme/cccevents/templates/base.html | 521 | ||||
-rw-r--r-- | theme/cccevents/templates/categories.html | 15 | ||||
-rw-r--r-- | theme/cccevents/templates/category.html | 67 | ||||
-rw-r--r-- | theme/cccevents/templates/homepage.html | 14 | ||||
-rw-r--r-- | theme/cccevents/templates/index.html | 31 | ||||
-rw-r--r-- | theme/cccevents/templates/news.html | 40 | ||||
-rw-r--r-- | theme/cccevents/templates/page.html | 26 | ||||
-rw-r--r-- | theme/cccevents/templates/pagination.html | 11 | ||||
-rw-r--r-- | theme/cccevents/templates/period_archives.html | 14 | ||||
-rw-r--r-- | theme/cccevents/templates/rss_footer.html | 7 | ||||
-rw-r--r-- | theme/cccevents/templates/tag.html | 7 | ||||
-rw-r--r-- | theme/cccevents/templates/tags.html | 15 | ||||
-rw-r--r-- | theme/cccevents/templates/translations.html | 8 |
18 files changed, 854 insertions, 0 deletions
diff --git a/theme/cccevents/templates/.empty b/theme/cccevents/templates/.empty new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/theme/cccevents/templates/.empty | |||
diff --git a/theme/cccevents/templates/archives.html b/theme/cccevents/templates/archives.html new file mode 100644 index 0000000..3751372 --- /dev/null +++ b/theme/cccevents/templates/archives.html | |||
@@ -0,0 +1,16 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block title %}{{ SITENAME }} - Archives{%endblock%} | ||
4 | |||
5 | {% block content_title %} | ||
6 | <h1>Archives for {{ SITENAME }}</h1> | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block content %} | ||
10 | <dl> | ||
11 | {% for article in dates %} | ||
12 | <dt>{{ article.locale_date }}</dt> | ||
13 | <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> | ||
14 | {% endfor %} | ||
15 | </dl> | ||
16 | {% endblock %} | ||
diff --git a/theme/cccevents/templates/article.html b/theme/cccevents/templates/article.html new file mode 100644 index 0000000..581f960 --- /dev/null +++ b/theme/cccevents/templates/article.html | |||
@@ -0,0 +1,40 @@ | |||
1 | {% extends "base.html" %} | ||
2 | {% block head %} | ||
3 | {{ super() }} | ||
4 | {% for keyword in article.keywords %} | ||
5 | <meta name="keywords" contents="{{ keyword }}" /> | ||
6 | {% endfor %} | ||
7 | {% for description in article.description %} | ||
8 | <meta name="description" contents="{{ description }}" /> | ||
9 | {% endfor %} | ||
10 | {% for tag in article.tags %} | ||
11 | <meta name="tags" contents="{{ tag }}" /> | ||
12 | {% endfor %} | ||
13 | {% endblock %} | ||
14 | {% block translation %} | ||
15 | {% import 'translations.html' as translations with context %} | ||
16 | {{ translations.translations_for(article) }} | ||
17 | {% endblock %} | ||
18 | |||
19 | {% block content_title %} | ||
20 | <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1> | ||
21 | {% endblock %} | ||
22 | |||
23 | {% block content %} | ||
24 | |||
25 | {% if category == "pressreview" %} | ||
26 | <dl> | ||
27 | <dt>Publiziert von:</dt> | ||
28 | <dd>{{ article.publisher }}</dd> | ||
29 | <dt>Publiziert am:</dt> | ||
30 | <dd>{{ article.date.strftime('%-d. %B %Y') }}</dd> | ||
31 | <dt>URL:</dt> | ||
32 | <dd>{{ article.ext_url|urlize(128, true) }}</dd> | ||
33 | </dl> | ||
34 | {% else %} | ||
35 | {{ article.content }} | ||
36 | {% endif %} | ||
37 | |||
38 | <hr /> | ||
39 | <div class="shariff" data-title="{{ SITENAME }} - {{ article.title }}" data-url="{{ SITEURL }}/{{ article.url }}" data-theme="grey"></div> | ||
40 | {% endblock %} | ||
diff --git a/theme/cccevents/templates/author.html b/theme/cccevents/templates/author.html new file mode 100644 index 0000000..da9423a --- /dev/null +++ b/theme/cccevents/templates/author.html | |||
@@ -0,0 +1,7 @@ | |||
1 | {% extends "index.html" %} | ||
2 | |||
3 | {% block title %}{{ SITENAME }} - Articles by {{ author }}{% endblock %} | ||
4 | |||
5 | {% block content_title %} | ||
6 | <h1>Articles by {{ author }}</h1> | ||
7 | {% endblock content_title %} | ||
diff --git a/theme/cccevents/templates/authors.html b/theme/cccevents/templates/authors.html new file mode 100644 index 0000000..93aba52 --- /dev/null +++ b/theme/cccevents/templates/authors.html | |||
@@ -0,0 +1,15 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block title %}{{ SITENAME }} - Authors{% endblock %} | ||
4 | |||
5 | {% block content_title %} | ||
6 | <h1>Authors on {{ SITENAME }}</h1> | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block content %} | ||
10 | <ul> | ||
11 | {% for author, articles in authors|sort %} | ||
12 | <li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li> | ||
13 | {% endfor %} | ||
14 | </ul> | ||
15 | {% endblock %} | ||
diff --git a/theme/cccevents/templates/base.html b/theme/cccevents/templates/base.html new file mode 100644 index 0000000..641bae7 --- /dev/null +++ b/theme/cccevents/templates/base.html | |||
@@ -0,0 +1,521 @@ | |||
1 | |||
2 | <!DOCTYPE html> | ||
3 | |||
4 | <html lang="{{ DEFAULT_LANG }}"> | ||
5 | <head> | ||
6 | {% block head %}} | ||
7 | <meta charset="UTF-8"> | ||
8 | <meta name="viewport" content="width=device-width, initial-scale=1" > | ||
9 | <title>{% block title %}RGB2R v18 vom 2018-10-26 bis 2018-10-28 – CCC Event Blog{% endblock %}</title> | ||
10 | <script type="text/javascript"> | ||
11 | window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/events.ccc.de\/wp-includes\/js\/wp-emoji-release.min.js"}}; | ||
12 | !function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings); | ||
13 | </script> | ||
14 | <style type="text/css"> | ||
15 | img.wp-smiley, | ||
16 | img.emoji { | ||
17 | display: inline !important; | ||
18 | border: none !important; | ||
19 | box-shadow: none !important; | ||
20 | height: 1em !important; | ||
21 | width: 1em !important; | ||
22 | margin: 0 .07em !important; | ||
23 | vertical-align: -0.1em !important; | ||
24 | background: none !important; | ||
25 | padding: 0 !important; | ||
26 | } | ||
27 | </style> | ||
28 | |||
29 | <link rel='stylesheet' id='hemingway_googleFonts-css' href='/theme/css/fonts.css' type='text/css' media='all' /> | ||
30 | <link rel='stylesheet' href='/theme/css/custom.css' type='text/css' media='all' /> | ||
31 | <link rel='stylesheet' id='hemingway_style-css' href='/theme/hemingway/global.css' type='text/css' media='all' /> | ||
32 | <script type='text/javascript' src='/theme/js/jquery.js'></script> | ||
33 | <script type='text/javascript' src='/theme/js/jquery-migrate.min.js'></script> | ||
34 | <style type="text/css"><!--Customizer CSS-->body::selection { background:#009a93; }body a { color:#009a93; }body a:hover { color:#009a93; }.blog-title a:hover { color:#009a93; }.blog-menu a:hover { color:#009a93; }.blog-search #searchsubmit { background-color:#009a93; }.blog-search #searchsubmit { border-color:#009a93; }.blog-search #searchsubmit:hover { background-color:#009a93; }.blog-search #searchsubmit:hover { border-color:#009a93; }.featured-media .sticky-post { background-color:#009a93; }.post-title a:hover { color:#009a93; }.post-meta a:hover { color:#009a93; }.post-content a { color:#009a93; }.post-content a:hover { color:#009a93; }.blog .format-quote blockquote cite a:hover { color:#009a93; }.post-content a.more-link:hover { background-color:#009a93; }.post-content input[type="submit"]:hover { background-color:#009a93; }.post-content input[type="reset"]:hover { background-color:#009a93; }.post-content input[type="button"]:hover { background-color:#009a93; }.post-content fieldset legend { background-color:#009a93; }.post-content .searchform #searchsubmit { background:#009a93; }.post-content .searchform #searchsubmit { border-color:#009a93; }.post-content .searchform #searchsubmit:hover { background:#009a93; }.post-content .searchform #searchsubmit:hover { border-color:#009a93; }.post-content a.wp-block-file__button { background-color:#009a93; }.post-content .has-accent-color { color:#009a93; }.post-content .has-accent-background-color { background-color:#009a93; }.post-categories a { color:#009a93; }.post-categories a:hover { color:#009a93; }.post-tags a:hover { background:#009a93; }.post-tags a:hover:after { border-right-color:#009a93; }.post-nav a:hover { color:#009a93; }.archive-nav a:hover { color:#009a93; }.logged-in-as a { color:#009a93; }.logged-in-as a:hover { color:#009a93; }.content #respond input[type="submit"]:hover { background-color:#009a93; }.comment-meta-content cite a:hover { color:#009a93; }.comment-meta-content p a:hover { color:#009a93; }.comment-actions a:hover { color:#009a93; }#cancel-comment-reply-link { color:#009a93; }#cancel-comment-reply-link:hover { color:#009a93; }.comment-nav-below a:hover { color:#009a93; }.widget-title a { color:#009a93; }.widget-title a:hover { color:#009a93; }.widget_text a { color:#009a93; }.widget_text a:hover { color:#009a93; }.widget_rss a { color:#009a93; }.widget_rss a:hover { color:#009a93; }.widget_archive a { color:#009a93; }.widget_archive a:hover { color:#009a93; }.widget_meta a { color:#009a93; }.widget_meta a:hover { color:#009a93; }.widget_recent_comments a { color:#009a93; }.widget_recent_comments a:hover { color:#009a93; }.widget_pages a { color:#009a93; }.widget_pages a:hover { color:#009a93; }.widget_links a { color:#009a93; }.widget_links a:hover { color:#009a93; }.widget_recent_entries a { color:#009a93; }.widget_recent_entries a:hover { color:#009a93; }.widget_categories a { color:#009a93; }.widget_categories a:hover { color:#009a93; }.widget_search #searchsubmit { background:#009a93; }.widget_search #searchsubmit { border-color:#009a93; }.widget_search #searchsubmit:hover { background:#009a93; }.widget_search #searchsubmit:hover { border-color:#009a93; }#wp-calendar a { color:#009a93; }#wp-calendar a:hover { color:#009a93; }#wp-calendar tfoot a:hover { color:#009a93; }.dribbble-shot:hover { background:#009a93; }.widgetmore a { color:#009a93; }.widgetmore a:hover { color:#009a93; }.flickr_badge_image a:hover img { background:#009a93; }.footer .flickr_badge_image a:hover img { background:#009a93; }.footer .dribbble-shot:hover img { background:#009a93; }.sidebar .tagcloud a:hover { background:#009a93; }.footer .tagcloud a:hover { background:#009a93; }.credits a:hover { color:#009a93; }body#tinymce.wp-editor a { color:#009a93; }body#tinymce.wp-editor a:hover { color:#009a93; }</style><!-- /Customizer CSS --> <style type="text/css" id="wp-custom-css"> | ||
35 | .footer.section.large-padding {display: none} </style> | ||
36 | {% endblock head %} | ||
37 | </head> | ||
38 | |||
39 | <body class="post-template-default single single-post postid-7559 single-format-standard"> | ||
40 | |||
41 | <div class="big-wrapper"> | ||
42 | |||
43 | <div class="header-cover section bg-dark-light no-padding"> | ||
44 | |||
45 | <div class="header section" style="background-image: url(/theme/images/background.jpg);"> | ||
46 | |||
47 | <div class="header-inner section-inner"> | ||
48 | |||
49 | |||
50 | <div class="blog-info"> | ||
51 | |||
52 | <h2 class="blog-title"> | ||
53 | <a href="/">Hilfsangebote</a> | ||
54 | </h2> | ||
55 | |||
56 | |||
57 | </div><!-- .blog-info --> | ||
58 | |||
59 | |||
60 | </div><!-- .header-inner --> | ||
61 | |||
62 | </div><!-- .header --> | ||
63 | |||
64 | </div><!-- .bg-dark --> | ||
65 | |||
66 | <div class="navigation section no-padding bg-dark"> | ||
67 | |||
68 | <div class="navigation-inner section-inner"> | ||
69 | |||
70 | <!--<div class="toggle-container hidden">--> | ||
71 | |||
72 | <!--<div class="nav-toggle toggle">--> | ||
73 | |||
74 | <!--<div class="bar"></div>--> | ||
75 | <!--<div class="bar"></div>--> | ||
76 | <!--<div class="bar"></div>--> | ||
77 | |||
78 | <!--<div class="clear"></div>--> | ||
79 | |||
80 | <!--</div>--> | ||
81 | |||
82 | <!--<!–<div class="search-toggle toggle">–>--> | ||
83 | |||
84 | <!--<!–<div class="metal"></div>–>--> | ||
85 | <!--<!–<div class="glass"></div>–>--> | ||
86 | <!--<!–<div class="handle"></div>–>--> | ||
87 | |||
88 | <!--<!–</div>–>--> | ||
89 | |||
90 | <!--<div class="clear"></div>--> | ||
91 | |||
92 | <!--</div><!– .toggle-container –>--> | ||
93 | |||
94 | <!--<div class="blog-search hidden">--> | ||
95 | |||
96 | <!--<form method="get" class="searchform" action="https://events.ccc.de/">--> | ||
97 | <!--<input type="search" value="" placeholder="Search form" name="s" id="s" />--> | ||
98 | <!--<input type="submit" id="searchsubmit" value="Search">--> | ||
99 | <!--</form>--> | ||
100 | <!--</div>--> | ||
101 | |||
102 | <ul class="blog-menu"> | ||
103 | <!--{% for p in pages %}--> | ||
104 | <!--<li class="page_item page-item-181"><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>--> | ||
105 | <!--{% endfor %}--> | ||
106 | {% block translation %} | ||
107 | {% endblock %} | ||
108 | </ul> | ||
109 | |||
110 | <div class="clear"></div> | ||
111 | |||
112 | <ul class="mobile-menu"> | ||
113 | <!--{% for p in pages %}--> | ||
114 | <!--<li class="page_item page-item-181"><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>--> | ||
115 | <!--{% endfor %}--> | ||
116 | {% block translation2 %} | ||
117 | {% endblock %} | ||
118 | </ul> | ||
119 | |||
120 | </div><!-- .navigation-inner --> | ||
121 | |||
122 | </div><!-- .navigation --> | ||
123 | <div class="wrapper section-inner"> | ||
124 | |||
125 | <div class="content left"> | ||
126 | |||
127 | |||
128 | <div class="posts"> | ||
129 | |||
130 | <div id="post-7559" class="post-7559 post type-post status-publish format-standard hentry category-ccc tag-rgb2r"> | ||
131 | |||
132 | <div class="post-header"> | ||
133 | {% block content_title %} | ||
134 | |||
135 | |||
136 | <h1 class="post-title"><a href="https://events.ccc.de/2018/09/25/rgb2r-v18-vom-2018-10-26-bis-2018-10-28/" rel="bookmark" title="RGB2R v18 vom 2018-10-26 bis 2018-10-28">RGB2R v18 vom 2018-10-26 bis 2018-10-28</a></h1> | ||
137 | {% endblock %} | ||
138 | {% block content_meta %} | ||
139 | <div class="post-meta"> | ||
140 | |||
141 | <span class="post-date"><a href="https://events.ccc.de/2018/09/25/rgb2r-v18-vom-2018-10-26-bis-2018-10-28/" title="RGB2R v18 vom 2018-10-26 bis 2018-10-28">Tue 2018-09-25</a></span> | ||
142 | |||
143 | |||
144 | </div> | ||
145 | {% endblock %} | ||
146 | </div><!-- .post-header --> | ||
147 | |||
148 | <div class="post-content"> | ||
149 | {% block content %} | ||
150 | <p>Wie in den vergangenen Jahren findet auch dieses Jahr wieder die RGB2R vom 26. Oktober bis 28. Oktober 2018 in Heidelberg statt, veranstaltet vom NoName e.V. (Chaostreff Heidelberg).</p> | ||
151 | <p>Die RGB2R ist eine Retro-Gaming- und -Computing-Veranstaltung. Jeder bringt Konsolen, DOS-PCs, Commodore, Atari, Amiga, etc. aus dem letzten Jahrhundert mit und verbringt die Tage in netter Gesellschaft, sowie mit viel Spaß und Erinnerungen an die Spiele der vergangenen Jahre und Jahrzehnte.</p> | ||
152 | <p>Für Verpflegung, Club Mate und andere Getränke ist gesorgt.</p> | ||
153 | <p>Der Veranstaltungsort ist, wie letztes Jahr, das Bürgerhaus im Heidelberger Stadtteil Schlierbach direkt am Neckar. Hinweise zur Anfahrt mit Auto oder ÖPNV finden sich unter <a href="https://www.rgb2r.de/location/">https://www.rgb2r.de/location/</a>.</p> | ||
154 | <p>Ab sofort ist auch die Anmeldung auf <a href="https://pretix.eu/nnev/rgb2rv18/">https://pretix.eu/nnev/rgb2rv18/</a> freigeschaltet. Dort gibt es auch die Möglichkeit, T-Shirts<br /> | ||
155 | vorzubestellen, sowie Frühstücks- und andere Wünsche zu äußern. Der Unkostenbeitrag beträgt 16 € (Supporter: 32 €), darin ist eine Frühstücksflatrate inklusive Kaffee und Tee enthalten.</p> | ||
156 | <p>Dieses Jahr suchen wir auch euren Input: Wir wollen auch wieder Vorträge und Workshops anbieten. Wenn du dich dazu berufen fühlst, etwas anzubieten, dann melde dich bei <a href="mailto:rgb2r-talks@noname-ev.de">rgb2r-talks@noname-ev.de</a>.</p> | ||
157 | <p>Fragen und Feedback werden über die Mailingliste <a href="mailto:rgb2r@noname-ev.de">rgb2r@noname-ev.de</a> und auf <a href="https://robustirc.net/">https://robustirc.net/</a> in #rgb2r gerne angenommen.</p> | ||
158 | {% endblock %} | ||
159 | </div><!-- .post-content --> | ||
160 | |||
161 | <div class="clear"></div> | ||
162 | |||
163 | <!--<div class="post-meta-bottom">--> | ||
164 | |||
165 | <!--<p class="post-categories"><span class="category-icon"><span class="front-flap"></span></span> <a href="https://events.ccc.de/category/ccc/" rel="category tag">CCC</a></p>--> | ||
166 | |||
167 | <!--<p class="post-tags"><a href="https://events.ccc.de/tag/rgb2r/" rel="tag">rgb2r</a></p>--> | ||
168 | |||
169 | <!--<div class="clear"></div>--> | ||
170 | |||
171 | <!--<div class="post-nav">--> | ||
172 | |||
173 | |||
174 | <!--<a class="post-nav-older" title="Previous post: What’s new in 35C3 Fahrplan?" href="https://events.ccc.de/2018/09/11/whats-new-in-35c3-fahrplan/">--> | ||
175 | |||
176 | <!--<h5>Previous post</h5>--> | ||
177 | <!--What’s new in 35C3 Fahrplan?--> | ||
178 | <!--</a>--> | ||
179 | |||
180 | |||
181 | <!--<div class="clear"></div>--> | ||
182 | |||
183 | <!--</div><!– .post-nav –>--> | ||
184 | |||
185 | <!--</div><!– .post-meta-bottom –>--> | ||
186 | |||
187 | |||
188 | |||
189 | |||
190 | </div><!-- .post --> | ||
191 | |||
192 | </div><!-- .posts --> | ||
193 | |||
194 | </div><!-- .content --> | ||
195 | |||
196 | |||
197 | <div class="sidebar right" role="complementary"> | ||
198 | |||
199 | <!--<div class="widget widget_search">--> | ||
200 | <!--<div class="widget-content">--> | ||
201 | <!--<form method="get" class="searchform" action="https://events.ccc.de/">--> | ||
202 | <!--<input type="search" value="" placeholder="Search form" name="s" id="s"/>--> | ||
203 | <!--<input type="submit" id="searchsubmit" value="Search">--> | ||
204 | <!--</form>--> | ||
205 | <!--</div>--> | ||
206 | <!--<div class="clear"></div>--> | ||
207 | <!--</div>--> | ||
208 | <!--<div class="widget widget_links">--> | ||
209 | <!--<div class="widget-content"><h3 class="widget-title">CCC</h3>--> | ||
210 | <!--<ul class='xoxo blogroll'>--> | ||
211 | <!--<li><a href="https://www.ccc.de/" title="Main CCC homepage">CCC Homepage</a></li>--> | ||
212 | <!--<li><a href="http://media.ccc.de/" title="Videos from CCC events and other sources">CCC--> | ||
213 | <!--Videos</a></li>--> | ||
214 | <!--<li><a href="https://twitter.com/chaosupdates">CCC on Twitter</a></li>--> | ||
215 | |||
216 | <!--</ul>--> | ||
217 | <!--</div>--> | ||
218 | <!--<div class="clear"></div>--> | ||
219 | <!--</div>--> | ||
220 | <!--<div class="widget widget_links">--> | ||
221 | <!--<div class="widget-content"><h3 class="widget-title">Congress</h3>--> | ||
222 | <!--<ul class='xoxo blogroll'>--> | ||
223 | <!--<li>--> | ||
224 | <!--<a href="https://events.ccc.de/2018/09/11/35c3-call-for-participation-and-submission-guidelines/"--> | ||
225 | <!--title="35C3 Call for Participation (english)">35C3 CfP (english)</a></li>--> | ||
226 | <!--<li>--> | ||
227 | <!--<a href="https://events.ccc.de/2018/09/11/35c3-call-for-participation-und-leitfaden-zur-einreichung/"--> | ||
228 | <!--title="35C3 Call for Participation (deutsch)">35C3 CfP (deutsch)</a></li>--> | ||
229 | <!--<li><a href="https://twitter.com/ccc" title="CCC Events on Twitter" target="_blank">CCC Events--> | ||
230 | <!--on Twitter</a></li>--> | ||
231 | <!--<li><a href="https://events.ccc.de/congress/2018"--> | ||
232 | <!--title="35th Chaos Communication Congress Website">35C3 Wiki</a></li>--> | ||
233 | |||
234 | <!--</ul>--> | ||
235 | <!--</div>--> | ||
236 | <!--<div class="clear"></div>--> | ||
237 | <!--</div>--> | ||
238 | <!--<div class="widget widget_links">--> | ||
239 | <!--<div class="widget-content"><h3 class="widget-title">Former Events</h3>--> | ||
240 | <!--<ul class='xoxo blogroll'>--> | ||
241 | <!--<li><a href="https://events.ccc.de/congress/2014/wiki/Main_Page"--> | ||
242 | <!--title="31st Chaos Communication Congress Website">31C3 Wiki</a></li>--> | ||
243 | <!--<li><a href="http://events.ccc.de/camp/2015">Camp 2015</a></li>--> | ||
244 | <!--<li><a href="https://events.ccc.de/congress/2015/wiki/" title="Link to the 32C3 Wiki">32C3--> | ||
245 | <!--Wiki</a></li>--> | ||
246 | <!--<li><a href="https://events.ccc.de/congress/2017/wiki/" rel="me" title="Link to the 34C3 Wiki">34C3--> | ||
247 | <!--Wiki</a></li>--> | ||
248 | <!--<li><a href="https://events.ccc.de/congress/2017/">33C3 Wiki</a></li>--> | ||
249 | |||
250 | <!--</ul>--> | ||
251 | <!--</div>--> | ||
252 | <!--<div class="clear"></div>--> | ||
253 | <!--</div>--> | ||
254 | <!--<div class="widget widget_links">--> | ||
255 | <!--<div class="widget-content"><h3 class="widget-title">Other CCC events</h3>--> | ||
256 | <!--<ul class='xoxo blogroll'>--> | ||
257 | <!--<li><a href="http://www.datenspuren.de/" title="Datenspuren in Dresden">Datenspuren</a></li>--> | ||
258 | <!--<li><a href="http://entropia.de/wiki/GPN" title="Gulaschprogrammiernacht, Karlsruhe">GPN</a>--> | ||
259 | <!--</li>--> | ||
260 | <!--<li><a href="http://www.easterhegg.eu/">Easterhegg</a></li>--> | ||
261 | <!--<li><a href="https://hackover.de" title="Hackover Hannover Geekend">Hackover</a></li>--> | ||
262 | |||
263 | <!--</ul>--> | ||
264 | <!--</div>--> | ||
265 | <!--<div class="clear"></div>--> | ||
266 | <!--</div>--> | ||
267 | <!--<div class="widget widget_rss">--> | ||
268 | <!--<div class="widget-content"><h3 class="widget-title"><a class="rsswidget"--> | ||
269 | <!--href="https://events.ccc.de/feed/"><img--> | ||
270 | <!--class="rss-widget-icon" style="border:0" width="14" height="14"--> | ||
271 | <!--src="https://events.ccc.de/wp-includes/images/rss.png" alt="RSS"/></a> <a class="rsswidget"--> | ||
272 | <!--href="https://events.ccc.de/">Feed</a>--> | ||
273 | <!--</h3>--> | ||
274 | <!--<ul>--> | ||
275 | <!--<li><a class='rsswidget'--> | ||
276 | <!--href='https://events.ccc.de/2018/09/25/rgb2r-v18-vom-2018-10-26-bis-2018-10-28/'>RGB2R--> | ||
277 | <!--v18 vom 2018-10-26 bis 2018-10-28</a></li>--> | ||
278 | <!--<li><a class='rsswidget' href='https://events.ccc.de/2018/09/11/whats-new-in-35c3-fahrplan/'>What’s--> | ||
279 | <!--new in 35C3 Fahrplan?</a></li>--> | ||
280 | <!--<li><a class='rsswidget'--> | ||
281 | <!--href='https://events.ccc.de/2018/09/11/35c3-call-for-participation-and-submission-guidelines/'>35C3:--> | ||
282 | <!--Call for Participation and Submission Guidelines</a></li>--> | ||
283 | <!--<li><a class='rsswidget'--> | ||
284 | <!--href='https://events.ccc.de/2018/09/11/35c3-call-for-participation-und-leitfaden-zur-einreichung/'>35C3:--> | ||
285 | <!--Call for Participation und Leitfaden zur Einreichung</a></li>--> | ||
286 | <!--<li><a class='rsswidget'--> | ||
287 | <!--href='https://events.ccc.de/2018/07/19/einladung-zu-den-datenspuren-2018/'>Einladung zu--> | ||
288 | <!--den Datenspuren 2018</a></li>--> | ||
289 | <!--<li><a class='rsswidget'--> | ||
290 | <!--href='https://events.ccc.de/2018/07/13/last-minute-chaos-reisen-ctdobbq18-next-week/'>Last--> | ||
291 | <!--Minute Chaos Reisen: #ctdoBBQ18 – next Week!</a></li>--> | ||
292 | <!--<li><a class='rsswidget' href='https://events.ccc.de/2018/07/08/hacken-open-air-2/'>Hacken Open--> | ||
293 | <!--Air</a></li>--> | ||
294 | <!--<li><a class='rsswidget'--> | ||
295 | <!--href='https://events.ccc.de/2018/07/07/tickets-fur-die-funfte-das-ist-netzpolitik-konferenz/'>Tickets--> | ||
296 | <!--für die fünfte „Das ist Netzpolitik!“-Konferenz</a></li>--> | ||
297 | <!--<li><a class='rsswidget'--> | ||
298 | <!--href='https://events.ccc.de/2018/06/20/call-for-participation-tuwat-fur-einen-nachhaltigen-hacktivismus/'>Call--> | ||
299 | <!--for Participation: #tuwat für einen nachhaltigen Hacktivismus!</a></li>--> | ||
300 | <!--</ul>--> | ||
301 | <!--</div>--> | ||
302 | <!--<div class="clear"></div>--> | ||
303 | <!--</div>--> | ||
304 | <!--<div class="widget widget_categories">--> | ||
305 | <!--<div class="widget-content"><h3 class="widget-title">Categories</h3>--> | ||
306 | <!--<ul>--> | ||
307 | <!--<li class="cat-item cat-item-200"><a href="https://events.ccc.de/category/assemblies/">Assemblies</a>--> | ||
308 | <!--(16)--> | ||
309 | <!--</li>--> | ||
310 | <!--<li class="cat-item cat-item-15"><a href="https://events.ccc.de/category/call-for-papers/"--> | ||
311 | <!--title="All Call for Papers posts">Call for Papers</a> (74)--> | ||
312 | <!--</li>--> | ||
313 | <!--<li class="cat-item cat-item-16"><a href="https://events.ccc.de/category/camp/">Camp</a> (86)--> | ||
314 | <!--<ul class='children'>--> | ||
315 | <!--<li class="cat-item cat-item-106"><a--> | ||
316 | <!--href="https://events.ccc.de/category/camp/camp-2011/">Camp 2011</a> (14)--> | ||
317 | <!--</li>--> | ||
318 | <!--<li class="cat-item cat-item-228"><a--> | ||
319 | <!--href="https://events.ccc.de/category/camp/camp2015/"--> | ||
320 | <!--title="Chaos Communication Camp 2015">Camp 2015</a> (27)--> | ||
321 | <!--</li>--> | ||
322 | <!--</ul>--> | ||
323 | <!--</li>--> | ||
324 | <!--<li class="cat-item cat-item-3"><a href="https://events.ccc.de/category/ccc/"--> | ||
325 | <!--title="News about the Chaos Computer Club in general">CCC</a>--> | ||
326 | <!--(317)--> | ||
327 | <!--</li>--> | ||
328 | <!--<li class="cat-item cat-item-267"><a--> | ||
329 | <!--href="https://events.ccc.de/category/congress/">Congress</a> (468)--> | ||
330 | <!--<ul class='children'>--> | ||
331 | <!--<li class="cat-item cat-item-227"><a--> | ||
332 | <!--href="https://events.ccc.de/category/congress/1c2/">1C2</a> (2)--> | ||
333 | <!--</li>--> | ||
334 | <!--<li class="cat-item cat-item-1"><a href="https://events.ccc.de/category/congress/22c3/"--> | ||
335 | <!--title="Information about the 22nd Chaos Communication Congress">22C3</a>--> | ||
336 | <!--(108)--> | ||
337 | <!--</li>--> | ||
338 | <!--<li class="cat-item cat-item-13"><a href="https://events.ccc.de/category/congress/23c3/"--> | ||
339 | <!--title="23rd Chaos Communication Congress">23C3</a>--> | ||
340 | <!--(33)--> | ||
341 | <!--</li>--> | ||
342 | <!--<li class="cat-item cat-item-17"><a--> | ||
343 | <!--href="https://events.ccc.de/category/congress/24c3/">24C3</a> (17)--> | ||
344 | <!--</li>--> | ||
345 | <!--<li class="cat-item cat-item-268"><a--> | ||
346 | <!--href="https://events.ccc.de/category/congress/25c3/">25C3</a> (53)--> | ||
347 | <!--</li>--> | ||
348 | <!--<li class="cat-item cat-item-269"><a--> | ||
349 | <!--href="https://events.ccc.de/category/congress/26c3/"--> | ||
350 | <!--title="Information about the 26th Chaos Communication Congress">26C3</a> (12)--> | ||
351 | <!--</li>--> | ||
352 | <!--<li class="cat-item cat-item-105"><a--> | ||
353 | <!--href="https://events.ccc.de/category/congress/27c3/">27C3</a> (44)--> | ||
354 | <!--</li>--> | ||
355 | <!--<li class="cat-item cat-item-161"><a--> | ||
356 | <!--href="https://events.ccc.de/category/congress/28c3/">28C3</a> (16)--> | ||
357 | <!--</li>--> | ||
358 | <!--<li class="cat-item cat-item-181"><a--> | ||
359 | <!--href="https://events.ccc.de/category/congress/29c3/">29C3</a> (38)--> | ||
360 | <!--</li>--> | ||
361 | <!--<li class="cat-item cat-item-270"><a--> | ||
362 | <!--href="https://events.ccc.de/category/congress/30c3/">30C3</a> (38)--> | ||
363 | <!--</li>--> | ||
364 | <!--<li class="cat-item cat-item-271"><a--> | ||
365 | <!--href="https://events.ccc.de/category/congress/31c3/">31C3</a> (34)--> | ||
366 | <!--</li>--> | ||
367 | <!--<li class="cat-item cat-item-266"><a--> | ||
368 | <!--href="https://events.ccc.de/category/congress/32c3/">32C3</a> (22)--> | ||
369 | <!--</li>--> | ||
370 | <!--<li class="cat-item cat-item-307"><a--> | ||
371 | <!--href="https://events.ccc.de/category/congress/33c3/"--> | ||
372 | <!--title="Information about the 33rd Chaos Communication Congress">33C3</a> (25)--> | ||
373 | <!--</li>--> | ||
374 | <!--<li class="cat-item cat-item-343"><a--> | ||
375 | <!--href="https://events.ccc.de/category/congress/34c3/">34C3</a> (18)--> | ||
376 | <!--</li>--> | ||
377 | <!--<li class="cat-item cat-item-358"><a--> | ||
378 | <!--href="https://events.ccc.de/category/congress/35c3/">35C3</a> (3)--> | ||
379 | <!--</li>--> | ||
380 | <!--</ul>--> | ||
381 | <!--</li>--> | ||
382 | <!--<li class="cat-item cat-item-229"><a href="https://events.ccc.de/category/datengarten/">Datengarten</a>--> | ||
383 | <!--(1)--> | ||
384 | <!--</li>--> | ||
385 | <!--<li class="cat-item cat-item-14"><a href="https://events.ccc.de/category/datenspuren/"--> | ||
386 | <!--title="Nachrichten von den Datenspuren in Dresden">Datenspuren</a>--> | ||
387 | <!--(21)--> | ||
388 | <!--</li>--> | ||
389 | <!--<li class="cat-item cat-item-272"><a href="https://events.ccc.de/category/easterhegg/">Easterhegg</a>--> | ||
390 | <!--(17)--> | ||
391 | <!--<ul class='children'>--> | ||
392 | <!--<li class="cat-item cat-item-18"><a--> | ||
393 | <!--href="https://events.ccc.de/category/easterhegg/easterhegg-2008/">Easterhegg--> | ||
394 | <!--2008</a> (2)--> | ||
395 | <!--</li>--> | ||
396 | <!--<li class="cat-item cat-item-95"><a--> | ||
397 | <!--href="https://events.ccc.de/category/easterhegg/easterhegg-2010/">Easterhegg--> | ||
398 | <!--2010</a> (4)--> | ||
399 | <!--</li>--> | ||
400 | <!--<li class="cat-item cat-item-175"><a--> | ||
401 | <!--href="https://events.ccc.de/category/easterhegg/easterhegg-2012/">Easterhegg--> | ||
402 | <!--2012</a> (1)--> | ||
403 | <!--</li>--> | ||
404 | <!--<li class="cat-item cat-item-211"><a--> | ||
405 | <!--href="https://events.ccc.de/category/easterhegg/easterhegg-2014/">Easterhegg--> | ||
406 | <!--2014</a> (4)--> | ||
407 | <!--</li>--> | ||
408 | <!--<li class="cat-item cat-item-356"><a--> | ||
409 | <!--href="https://events.ccc.de/category/easterhegg/easterhegg-2018/">EasterHegg--> | ||
410 | <!--2018</a> (1)--> | ||
411 | <!--</li>--> | ||
412 | <!--</ul>--> | ||
413 | <!--</li>--> | ||
414 | <!--<li class="cat-item cat-item-220"><a href="https://events.ccc.de/category/friends/">Friends</a>--> | ||
415 | <!--(16)--> | ||
416 | <!--</li>--> | ||
417 | <!--<li class="cat-item cat-item-195"><a href="https://events.ccc.de/category/geekend/">Geekend</a>--> | ||
418 | <!--(9)--> | ||
419 | <!--</li>--> | ||
420 | <!--<li class="cat-item cat-item-80"><a href="https://events.ccc.de/category/gpn/"--> | ||
421 | <!--title="Gulaschprogrammiernacht">GPN</a> (26)--> | ||
422 | <!--</li>--> | ||
423 | <!--<li class="cat-item cat-item-198"><a--> | ||
424 | <!--href="https://events.ccc.de/category/hackover-2/">Hackover</a> (10)--> | ||
425 | <!--</li>--> | ||
426 | <!--<li class="cat-item cat-item-201"><a href="https://events.ccc.de/category/kids/">Kids</a> (5)--> | ||
427 | <!--</li>--> | ||
428 | <!--<li class="cat-item cat-item-273"><a--> | ||
429 | <!--href="https://events.ccc.de/category/language/">Language</a> (519)--> | ||
430 | <!--<ul class='children'>--> | ||
431 | <!--<li class="cat-item cat-item-6"><a--> | ||
432 | <!--href="https://events.ccc.de/category/language/deutsch/"--> | ||
433 | <!--title="In Deutsch geschriebene Einträge">Deutsch</a> (222)--> | ||
434 | <!--</li>--> | ||
435 | <!--<li class="cat-item cat-item-274"><a--> | ||
436 | <!--href="https://events.ccc.de/category/language/english/"--> | ||
437 | <!--title="Posts written in english">English</a> (360)--> | ||
438 | <!--</li>--> | ||
439 | <!--</ul>--> | ||
440 | <!--</li>--> | ||
441 | <!--<li class="cat-item cat-item-85"><a href="https://events.ccc.de/category/mrmcds/">MRMCDs</a>--> | ||
442 | <!--(42)--> | ||
443 | <!--</li>--> | ||
444 | <!--<li class="cat-item cat-item-4"><a href="https://events.ccc.de/category/podcast/"--> | ||
445 | <!--title="Posts carrying a podcast">Podcast</a> (4)--> | ||
446 | <!--</li>--> | ||
447 | <!--<li class="cat-item cat-item-72"><a href="https://events.ccc.de/category/sigint/"--> | ||
448 | <!--title="Texte zur SIGINT in Köln">SIGINT</a> (31)--> | ||
449 | <!--</li>--> | ||
450 | <!--<li class="cat-item cat-item-225"><a href="https://events.ccc.de/category/streams/">Streams</a>--> | ||
451 | <!--(3)--> | ||
452 | <!--</li>--> | ||
453 | <!--<li class="cat-item cat-item-189"><a href="https://events.ccc.de/category/venue/">Venue</a> (6)--> | ||
454 | <!--</li>--> | ||
455 | <!--</ul>--> | ||
456 | <!--</div>--> | ||
457 | <!--<div class="clear"></div>--> | ||
458 | <!--</div>--> | ||
459 | <!--<div class="widget widget_meta">--> | ||
460 | <!--<div class="widget-content"><h3 class="widget-title">Meta</h3>--> | ||
461 | <!--<ul>--> | ||
462 | <!--<li><a href="https://events.ccc.de/wp-login.php">Log in</a></li>--> | ||
463 | <!--<li><a href="https://events.ccc.de/feed/">Entries <abbr--> | ||
464 | <!--title="Really Simple Syndication">RSS</abbr></a></li>--> | ||
465 | <!--<li><a href="https://events.ccc.de/comments/feed/">Comments <abbr--> | ||
466 | <!--title="Really Simple Syndication">RSS</abbr></a></li>--> | ||
467 | <!--<li><a href="https://wordpress.org/"--> | ||
468 | <!--title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a>--> | ||
469 | <!--</li>--> | ||
470 | <!--</ul>--> | ||
471 | <!--</div>--> | ||
472 | <!--<div class="clear"></div>--> | ||
473 | <!--</div>--> | ||
474 | </div><!-- /sidebar --> | ||
475 | |||
476 | |||
477 | <div class="clear" style="height: 50px"></div> | ||
478 | |||
479 | </div><!-- .wrapper --> | ||
480 | |||
481 | <div class="footer section large-padding bg-dark"> | ||
482 | |||
483 | <div class="footer-inner section-inner"> | ||
484 | |||
485 | <!-- .footer-a --> | ||
486 | |||
487 | <!-- .footer-b --> | ||
488 | |||
489 | <!-- .footer-c --> | ||
490 | |||
491 | <div class="clear"></div> | ||
492 | |||
493 | </div><!-- .footer-inner --> | ||
494 | |||
495 | </div><!-- .footer --> | ||
496 | |||
497 | <div class="credits section bg-dark no-padding"> | ||
498 | |||
499 | <div class="credits-inner section-inner"> | ||
500 | |||
501 | <p class="credits-left"> | ||
502 | |||
503 | © 2018 <a href="https://www.ccc.de/">Chaos Computer Club e.V.</a> – <a href="https://www.ccc.de/de/imprint">Impressum / Datenschutz</a> | ||
504 | |||
505 | </p> | ||
506 | |||
507 | <p class="credits-right"> | ||
508 | <span>Theme by <a href="http://www.andersnoren.se">Anders Noren</a></span> — <a title="To the top" class="tothetop">Up ↑</a> | ||
509 | </p> | ||
510 | |||
511 | <div class="clear"></div> | ||
512 | |||
513 | </div><!-- .credits-inner --> | ||
514 | |||
515 | </div><!-- .credits --> | ||
516 | |||
517 | </div><!-- .big-wrapper --> | ||
518 | |||
519 | <script type='text/javascript' src='/theme/hemingway/global.js'></script> | ||
520 | |||
521 | </body> | ||
diff --git a/theme/cccevents/templates/categories.html b/theme/cccevents/templates/categories.html new file mode 100644 index 0000000..78a7e70 --- /dev/null +++ b/theme/cccevents/templates/categories.html | |||
@@ -0,0 +1,15 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block title %}{{ SITENAME }} - Categories{% endblock %} | ||
4 | |||
5 | {% block content_title %} | ||
6 | <h1>Categories for {{ SITENAME }}</h1> | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block content %} | ||
10 | <ul> | ||
11 | {% for category, articles in categories %} | ||
12 | <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li> | ||
13 | {% endfor %} | ||
14 | </ul> | ||
15 | {% endblock %} | ||
diff --git a/theme/cccevents/templates/category.html b/theme/cccevents/templates/category.html new file mode 100644 index 0000000..0c8e031 --- /dev/null +++ b/theme/cccevents/templates/category.html | |||
@@ -0,0 +1,67 @@ | |||
1 | {% extends "index.html" %} | ||
2 | |||
3 | {% block title %} | ||
4 | {% if category == "medien" %} | ||
5 | {{ SITENAME }} | Medienmitteilungen | ||
6 | {% elif category == "pressreview" %} | ||
7 | {{ SITENAME }} | Pressereaktionen | ||
8 | {% else %} | ||
9 | {{ SITENAME }} | Articles in the {{ category }} category | ||
10 | {% endif %} | ||
11 | {% endblock %} | ||
12 | |||
13 | {% block content_title %} | ||
14 | {% if category == "medien" %} | ||
15 | <h1>Medienmitteilungen</h1> | ||
16 | {% elif category == "pressreview" %} | ||
17 | <h1>Pressereaktionen</h1> | ||
18 | {% else %} | ||
19 | <h1>Articles in the {{ category }} category</h1> | ||
20 | {% endif %} | ||
21 | {% endblock %} | ||
22 | |||
23 | {% block content %} | ||
24 | {% if category == "pressreview" %} | ||
25 | |||
26 | {% for article in dates %} | ||
27 | |||
28 | {% if (dates[loop.index-1].date.strftime("%Y")) != ((dates[loop.index-2]).date.strftime("%Y")) %} | ||
29 | <h2> {{ article.date.strftime("%Y") }} </h2> | ||
30 | {% endif %} | ||
31 | |||
32 | {% if (dates[loop.index-1].date.strftime("%Y%m%d")) != ((dates[loop.index-2]).date.strftime("%Y%m%d")) %} | ||
33 | <h3> {{ article.date.strftime("%-d. %B") }} </h3> | ||
34 | <ul> | ||
35 | {% endif %} | ||
36 | |||
37 | <li> | ||
38 | {{ article.publisher }}: <a href="{{ article.ext_url }}">{{ article.title }}</a> | ||
39 | </li> | ||
40 | |||
41 | {% if dates[loop.index] %} | ||
42 | {% if (dates[loop.index-1].date.strftime("%Y%m%d")) != ((dates[loop.index]).date.strftime("%Y%m%d")) %} | ||
43 | </ul> | ||
44 | {% endif %} | ||
45 | {% else %} | ||
46 | </ul> | ||
47 | {% endif %} | ||
48 | |||
49 | {% endfor %} | ||
50 | |||
51 | {% else %} | ||
52 | <ul> | ||
53 | {% for article in dates %} | ||
54 | <li> | ||
55 | <article class="hentry"> | ||
56 | {{ article.date.strftime("%A, %b %-d, %Y") }} - <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a><br /> | ||
57 | </article> | ||
58 | </li> | ||
59 | {% endfor %} | ||
60 | </ul> | ||
61 | {% endif %} | ||
62 | <h2>Abonniere diesen Kanal</h2> | ||
63 | <ul> | ||
64 | <li><a href="feeds/rss_{{ category }}.xml">RSS Feed</a> </li> | ||
65 | <li><a href="feeds/atom_{{ category }}.xml">ATOM Feed</a> </li> | ||
66 | </ul> | ||
67 | {% endblock %} | ||
diff --git a/theme/cccevents/templates/homepage.html b/theme/cccevents/templates/homepage.html new file mode 100644 index 0000000..3e70e59 --- /dev/null +++ b/theme/cccevents/templates/homepage.html | |||
@@ -0,0 +1,14 @@ | |||
1 | {% extends "base.html" %} | ||
2 | {% block translation %} | ||
3 | {% import 'translations.html' as translations with context %} | ||
4 | {{ translations.translations_for(page) }} | ||
5 | {% endblock %} | ||
6 | |||
7 | {% block content_title %} | ||
8 | {% endblock %}} | ||
9 | {% block content_meta %} | ||
10 | {% endblock %}} | ||
11 | |||
12 | {% block content %} | ||
13 | {{ page.content }} | ||
14 | {% endblock %} | ||
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 %} | ||
diff --git a/theme/cccevents/templates/news.html b/theme/cccevents/templates/news.html new file mode 100644 index 0000000..999333a --- /dev/null +++ b/theme/cccevents/templates/news.html | |||
@@ -0,0 +1,40 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block title %}{{ SITENAME }} - {{ page.title }}{%endblock%} | ||
4 | |||
5 | {% block translation %} | ||
6 | {% import 'translations.html' as translations with context %} | ||
7 | {{ translations.translations_for(page) }} | ||
8 | {% endblock %} | ||
9 | |||
10 | {% block content_title %} | ||
11 | <h1 class="entry-title">{{ page.title }}</h1> | ||
12 | {% endblock %} | ||
13 | |||
14 | {% block content %} | ||
15 | {% if articles %} | ||
16 | {% for article in dates %} | ||
17 | <article class="hentry"> | ||
18 | <h2><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> | ||
19 | |||
20 | <div class="entry-content"> | ||
21 | {{ article.summary }} | ||
22 | <a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a> | ||
23 | </div><!-- /.entry-content --> | ||
24 | </article> | ||
25 | {% endfor %} | ||
26 | {% else %} | ||
27 | <section id="content" class="body"> | ||
28 | <header> | ||
29 | <h1>Pages</h1> | ||
30 | </header> | ||
31 | <div> | ||
32 | <ul> | ||
33 | {% for page in PAGES %} | ||
34 | <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> | ||
35 | {% endfor %} | ||
36 | </ul> | ||
37 | </div><!-- /.entry-content --> | ||
38 | </section> | ||
39 | {% endif %} | ||
40 | {% endblock %} | ||
diff --git a/theme/cccevents/templates/page.html b/theme/cccevents/templates/page.html new file mode 100644 index 0000000..0d5ff64 --- /dev/null +++ b/theme/cccevents/templates/page.html | |||
@@ -0,0 +1,26 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block title %}{{ SITENAME }} | {{ page.longtitle }}{%endblock%} | ||
4 | |||
5 | {% block translation %} | ||
6 | {% import 'translations.html' as translations with context %} | ||
7 | {{ translations.translations_for(page) }} | ||
8 | {% endblock %} | ||
9 | |||
10 | {% block translation2 %} | ||
11 | {% import 'translations.html' as translations with context %} | ||
12 | {{ translations.translations_for(page) }} | ||
13 | {% endblock %} | ||
14 | |||
15 | {% block content_title %} | ||
16 | <h1 class="post-title">{{ page.longtitle }}</h1> | ||
17 | |||
18 | {% endblock %} | ||
19 | {% block content_meta %} | ||
20 | {% endblock %}} | ||
21 | |||
22 | |||
23 | {% block content %} | ||
24 | {{ page.content }} | ||
25 | {% endblock %} | ||
26 | |||
diff --git a/theme/cccevents/templates/pagination.html b/theme/cccevents/templates/pagination.html new file mode 100644 index 0000000..f58cdaf --- /dev/null +++ b/theme/cccevents/templates/pagination.html | |||
@@ -0,0 +1,11 @@ | |||
1 | {% if DEFAULT_PAGINATION %} | ||
2 | <p class="paginator"> | ||
3 | {% if articles_page.has_previous() %} | ||
4 | <a href="{{ SITEURL }}/{{ articles_previous_page.url }}">«</a> | ||
5 | {% endif %} | ||
6 | Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} | ||
7 | {% if articles_page.has_next() %} | ||
8 | <a href="{{ SITEURL }}/{{ articles_next_page.url }}">»</a> | ||
9 | {% endif %} | ||
10 | </p> | ||
11 | {% endif %} | ||
diff --git a/theme/cccevents/templates/period_archives.html b/theme/cccevents/templates/period_archives.html new file mode 100644 index 0000000..e8745f3 --- /dev/null +++ b/theme/cccevents/templates/period_archives.html | |||
@@ -0,0 +1,14 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block content_title %} | ||
4 | <h1>Archives for {{ period | reverse | join(' ') }}</h1> | ||
5 | {% endblock %} | ||
6 | |||
7 | {% block content %} | ||
8 | <dl> | ||
9 | {% for article in dates %} | ||
10 | <dt>{{ article.locale_date }}</dt> | ||
11 | <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> | ||
12 | {% endfor %} | ||
13 | </dl> | ||
14 | {% endblock %} | ||
diff --git a/theme/cccevents/templates/rss_footer.html b/theme/cccevents/templates/rss_footer.html new file mode 100644 index 0000000..65054c7 --- /dev/null +++ b/theme/cccevents/templates/rss_footer.html | |||
@@ -0,0 +1,7 @@ | |||
1 | {% macro rss_for(article) %} | ||
2 | {% if article.lang %} | ||
3 | <a href="{{ article.lang }}/feeds/rss_{{ article.lang }}.xml" > | ||
4 | <img height="19px" width="19px" alt="rss" src="/theme/rss-icon.png" /> | ||
5 | </a> | ||
6 | {% endif %} | ||
7 | {% endmacro %} | ||
diff --git a/theme/cccevents/templates/tag.html b/theme/cccevents/templates/tag.html new file mode 100644 index 0000000..f8d5dde --- /dev/null +++ b/theme/cccevents/templates/tag.html | |||
@@ -0,0 +1,7 @@ | |||
1 | {% extends "index.html" %} | ||
2 | |||
3 | {% block title %}{{ SITENAME }} - Articles tagged with {{ tag }}{% endblock %} | ||
4 | |||
5 | {% block content_title %} | ||
6 | <h1>Articles tagged with {{ tag }}</h1> | ||
7 | {% endblock content_title %} | ||
diff --git a/theme/cccevents/templates/tags.html b/theme/cccevents/templates/tags.html new file mode 100644 index 0000000..ed72f24 --- /dev/null +++ b/theme/cccevents/templates/tags.html | |||
@@ -0,0 +1,15 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block title %}{{ SITENAME }} - Tags{% endblock %} | ||
4 | |||
5 | {% block content_title %} | ||
6 | <h1>Tags for {{ SITENAME }}</h1> | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block content %} | ||
10 | <ul> | ||
11 | {% for tag, articles in tags|sort %} | ||
12 | <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li> | ||
13 | {% endfor %} | ||
14 | </ul> | ||
15 | {% endblock %} | ||
diff --git a/theme/cccevents/templates/translations.html b/theme/cccevents/templates/translations.html new file mode 100644 index 0000000..5864095 --- /dev/null +++ b/theme/cccevents/templates/translations.html | |||
@@ -0,0 +1,8 @@ | |||
1 | {% macro translations_for(article) %} | ||
2 | {% if article.translations %} | ||
3 | <!--<li role="presentation" class="active"><a href="#">{{ DEFAULT_LANG }}</a></li>--> | ||
4 | {% for translation in article.translations %} | ||
5 | <li class="page_item page-item-181"><a href="{{ SITEURL }}/{{ translation.url }}"><img src="{{ SITEURL}}/theme/images/{{ translation.lang }}.png"></a></li> | ||
6 | {% endfor %} | ||
7 | {% endif %} | ||
8 | {% endmacro %} | ||