From c8cfe63aac73a92ae02354a5306ca5480808daff Mon Sep 17 00:00:00 2001 From: Hans-Peter Oeri <hp@oeri.ch> Date: Thu, 25 Oct 2018 13:27:51 +0200 Subject: re-do site in schiedsstelle layout --- theme/cccevents/templates/.empty | 0 theme/cccevents/templates/archives.html | 16 + theme/cccevents/templates/article.html | 40 ++ theme/cccevents/templates/author.html | 7 + theme/cccevents/templates/authors.html | 15 + theme/cccevents/templates/base.html | 521 +++++++++++++++++++++++++ theme/cccevents/templates/categories.html | 15 + theme/cccevents/templates/category.html | 67 ++++ theme/cccevents/templates/homepage.html | 14 + theme/cccevents/templates/index.html | 31 ++ theme/cccevents/templates/news.html | 40 ++ theme/cccevents/templates/page.html | 26 ++ theme/cccevents/templates/pagination.html | 11 + theme/cccevents/templates/period_archives.html | 14 + theme/cccevents/templates/rss_footer.html | 7 + theme/cccevents/templates/tag.html | 7 + theme/cccevents/templates/tags.html | 15 + theme/cccevents/templates/translations.html | 8 + 18 files changed, 854 insertions(+) create mode 100644 theme/cccevents/templates/.empty create mode 100644 theme/cccevents/templates/archives.html create mode 100644 theme/cccevents/templates/article.html create mode 100644 theme/cccevents/templates/author.html create mode 100644 theme/cccevents/templates/authors.html create mode 100644 theme/cccevents/templates/base.html create mode 100644 theme/cccevents/templates/categories.html create mode 100644 theme/cccevents/templates/category.html create mode 100644 theme/cccevents/templates/homepage.html create mode 100644 theme/cccevents/templates/index.html create mode 100644 theme/cccevents/templates/news.html create mode 100644 theme/cccevents/templates/page.html create mode 100644 theme/cccevents/templates/pagination.html create mode 100644 theme/cccevents/templates/period_archives.html create mode 100644 theme/cccevents/templates/rss_footer.html create mode 100644 theme/cccevents/templates/tag.html create mode 100644 theme/cccevents/templates/tags.html create mode 100644 theme/cccevents/templates/translations.html (limited to 'theme/cccevents/templates') diff --git a/theme/cccevents/templates/.empty b/theme/cccevents/templates/.empty new file mode 100644 index 0000000..e69de29 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 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Archives{%endblock%} + +{% block content_title %} + <h1>Archives for {{ SITENAME }}</h1> +{% endblock %} + +{% block content %} + <dl> + {% for article in dates %} + <dt>{{ article.locale_date }}</dt> + <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> + {% endfor %} + </dl> +{% 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 @@ +{% extends "base.html" %} +{% block head %} + {{ super() }} + {% for keyword in article.keywords %} + <meta name="keywords" contents="{{ keyword }}" /> + {% endfor %} + {% for description in article.description %} + <meta name="description" contents="{{ description }}" /> + {% endfor %} + {% for tag in article.tags %} + <meta name="tags" contents="{{ tag }}" /> + {% endfor %} +{% endblock %} +{% block translation %} +{% import 'translations.html' as translations with context %} +{{ translations.translations_for(article) }} +{% endblock %} + +{% block content_title %} + <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1> +{% endblock %} + +{% block content %} + +{% if category == "pressreview" %} + <dl> + <dt>Publiziert von:</dt> + <dd>{{ article.publisher }}</dd> + <dt>Publiziert am:</dt> + <dd>{{ article.date.strftime('%-d. %B %Y') }}</dd> + <dt>URL:</dt> + <dd>{{ article.ext_url|urlize(128, true) }}</dd> + </dl> +{% else %} + {{ article.content }} +{% endif %} + +<hr /> +<div class="shariff" data-title="{{ SITENAME }} - {{ article.title }}" data-url="{{ SITEURL }}/{{ article.url }}" data-theme="grey"></div> +{% 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 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - Articles by {{ author }}{% endblock %} + +{% block content_title %} + <h1>Articles by {{ author }}</h1> +{% 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 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Authors{% endblock %} + +{% block content_title %} + <h1>Authors on {{ SITENAME }}</h1> +{% endblock %} + +{% block content %} + <ul> + {% for author, articles in authors|sort %} + <li><a href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a> ({{ articles|count }})</li> + {% endfor %} + </ul> +{% 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 @@ + +<!DOCTYPE html> + +<html lang="{{ DEFAULT_LANG }}"> +<head> + {% block head %}} + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1" > + <title>{% block title %}RGB2R v18 vom 2018-10-26 bis 2018-10-28 – CCC Event Blog{% endblock %}</title> + <script type="text/javascript"> + 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"}}; + !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); + </script> + <style type="text/css"> + img.wp-smiley, + img.emoji { + display: inline !important; + border: none !important; + box-shadow: none !important; + height: 1em !important; + width: 1em !important; + margin: 0 .07em !important; + vertical-align: -0.1em !important; + background: none !important; + padding: 0 !important; + } + </style> + + <link rel='stylesheet' id='hemingway_googleFonts-css' href='/theme/css/fonts.css' type='text/css' media='all' /> + <link rel='stylesheet' href='/theme/css/custom.css' type='text/css' media='all' /> + <link rel='stylesheet' id='hemingway_style-css' href='/theme/hemingway/global.css' type='text/css' media='all' /> + <script type='text/javascript' src='/theme/js/jquery.js'></script> + <script type='text/javascript' src='/theme/js/jquery-migrate.min.js'></script> + <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"> + .footer.section.large-padding {display: none} </style> + {% endblock head %} +</head> + +<body class="post-template-default single single-post postid-7559 single-format-standard"> + +<div class="big-wrapper"> + + <div class="header-cover section bg-dark-light no-padding"> + + <div class="header section" style="background-image: url(/theme/images/background.jpg);"> + + <div class="header-inner section-inner"> + + + <div class="blog-info"> + + <h2 class="blog-title"> + <a href="/">Hilfsangebote</a> + </h2> + + + </div><!-- .blog-info --> + + + </div><!-- .header-inner --> + + </div><!-- .header --> + + </div><!-- .bg-dark --> + + <div class="navigation section no-padding bg-dark"> + + <div class="navigation-inner section-inner"> + + <!--<div class="toggle-container hidden">--> + + <!--<div class="nav-toggle toggle">--> + + <!--<div class="bar"></div>--> + <!--<div class="bar"></div>--> + <!--<div class="bar"></div>--> + + <!--<div class="clear"></div>--> + + <!--</div>--> + + <!--<!–<div class="search-toggle toggle">–>--> + + <!--<!–<div class="metal"></div>–>--> + <!--<!–<div class="glass"></div>–>--> + <!--<!–<div class="handle"></div>–>--> + + <!--<!–</div>–>--> + + <!--<div class="clear"></div>--> + + <!--</div><!– .toggle-container –>--> + + <!--<div class="blog-search hidden">--> + + <!--<form method="get" class="searchform" action="https://events.ccc.de/">--> + <!--<input type="search" value="" placeholder="Search form" name="s" id="s" />--> + <!--<input type="submit" id="searchsubmit" value="Search">--> + <!--</form>--> + <!--</div>--> + + <ul class="blog-menu"> + <!--{% for p in pages %}--> + <!--<li class="page_item page-item-181"><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>--> + <!--{% endfor %}--> + {% block translation %} + {% endblock %} + </ul> + + <div class="clear"></div> + + <ul class="mobile-menu"> + <!--{% for p in pages %}--> + <!--<li class="page_item page-item-181"><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>--> + <!--{% endfor %}--> + {% block translation2 %} + {% endblock %} + </ul> + + </div><!-- .navigation-inner --> + + </div><!-- .navigation --> + <div class="wrapper section-inner"> + + <div class="content left"> + + + <div class="posts"> + + <div id="post-7559" class="post-7559 post type-post status-publish format-standard hentry category-ccc tag-rgb2r"> + + <div class="post-header"> +{% block content_title %} + + + <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> +{% endblock %} +{% block content_meta %} + <div class="post-meta"> + + <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> + + + </div> +{% endblock %} + </div><!-- .post-header --> + + <div class="post-content"> +{% block content %} + <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> + <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> + <p>Für Verpflegung, Club Mate und andere Getränke ist gesorgt.</p> + <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> + <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 /> + 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> + <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> + <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> +{% endblock %} + </div><!-- .post-content --> + + <div class="clear"></div> + + <!--<div class="post-meta-bottom">--> + + <!--<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>--> + + <!--<p class="post-tags"><a href="https://events.ccc.de/tag/rgb2r/" rel="tag">rgb2r</a></p>--> + + <!--<div class="clear"></div>--> + + <!--<div class="post-nav">--> + + + <!--<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/">--> + + <!--<h5>Previous post</h5>--> + <!--What’s new in 35C3 Fahrplan?--> + <!--</a>--> + + + <!--<div class="clear"></div>--> + + <!--</div><!– .post-nav –>--> + + <!--</div><!– .post-meta-bottom –>--> + + + + + </div><!-- .post --> + + </div><!-- .posts --> + + </div><!-- .content --> + + + <div class="sidebar right" role="complementary"> + + <!--<div class="widget widget_search">--> + <!--<div class="widget-content">--> + <!--<form method="get" class="searchform" action="https://events.ccc.de/">--> + <!--<input type="search" value="" placeholder="Search form" name="s" id="s"/>--> + <!--<input type="submit" id="searchsubmit" value="Search">--> + <!--</form>--> + <!--</div>--> + <!--<div class="clear"></div>--> + <!--</div>--> + <!--<div class="widget widget_links">--> + <!--<div class="widget-content"><h3 class="widget-title">CCC</h3>--> + <!--<ul class='xoxo blogroll'>--> + <!--<li><a href="https://www.ccc.de/" title="Main CCC homepage">CCC Homepage</a></li>--> + <!--<li><a href="http://media.ccc.de/" title="Videos from CCC events and other sources">CCC--> + <!--Videos</a></li>--> + <!--<li><a href="https://twitter.com/chaosupdates">CCC on Twitter</a></li>--> + + <!--</ul>--> + <!--</div>--> + <!--<div class="clear"></div>--> + <!--</div>--> + <!--<div class="widget widget_links">--> + <!--<div class="widget-content"><h3 class="widget-title">Congress</h3>--> + <!--<ul class='xoxo blogroll'>--> + <!--<li>--> + <!--<a href="https://events.ccc.de/2018/09/11/35c3-call-for-participation-and-submission-guidelines/"--> + <!--title="35C3 Call for Participation (english)">35C3 CfP (english)</a></li>--> + <!--<li>--> + <!--<a href="https://events.ccc.de/2018/09/11/35c3-call-for-participation-und-leitfaden-zur-einreichung/"--> + <!--title="35C3 Call for Participation (deutsch)">35C3 CfP (deutsch)</a></li>--> + <!--<li><a href="https://twitter.com/ccc" title="CCC Events on Twitter" target="_blank">CCC Events--> + <!--on Twitter</a></li>--> + <!--<li><a href="https://events.ccc.de/congress/2018"--> + <!--title="35th Chaos Communication Congress Website">35C3 Wiki</a></li>--> + + <!--</ul>--> + <!--</div>--> + <!--<div class="clear"></div>--> + <!--</div>--> + <!--<div class="widget widget_links">--> + <!--<div class="widget-content"><h3 class="widget-title">Former Events</h3>--> + <!--<ul class='xoxo blogroll'>--> + <!--<li><a href="https://events.ccc.de/congress/2014/wiki/Main_Page"--> + <!--title="31st Chaos Communication Congress Website">31C3 Wiki</a></li>--> + <!--<li><a href="http://events.ccc.de/camp/2015">Camp 2015</a></li>--> + <!--<li><a href="https://events.ccc.de/congress/2015/wiki/" title="Link to the 32C3 Wiki">32C3--> + <!--Wiki</a></li>--> + <!--<li><a href="https://events.ccc.de/congress/2017/wiki/" rel="me" title="Link to the 34C3 Wiki">34C3--> + <!--Wiki</a></li>--> + <!--<li><a href="https://events.ccc.de/congress/2017/">33C3 Wiki</a></li>--> + + <!--</ul>--> + <!--</div>--> + <!--<div class="clear"></div>--> + <!--</div>--> + <!--<div class="widget widget_links">--> + <!--<div class="widget-content"><h3 class="widget-title">Other CCC events</h3>--> + <!--<ul class='xoxo blogroll'>--> + <!--<li><a href="http://www.datenspuren.de/" title="Datenspuren in Dresden">Datenspuren</a></li>--> + <!--<li><a href="http://entropia.de/wiki/GPN" title="Gulaschprogrammiernacht, Karlsruhe">GPN</a>--> + <!--</li>--> + <!--<li><a href="http://www.easterhegg.eu/">Easterhegg</a></li>--> + <!--<li><a href="https://hackover.de" title="Hackover Hannover Geekend">Hackover</a></li>--> + + <!--</ul>--> + <!--</div>--> + <!--<div class="clear"></div>--> + <!--</div>--> + <!--<div class="widget widget_rss">--> + <!--<div class="widget-content"><h3 class="widget-title"><a class="rsswidget"--> + <!--href="https://events.ccc.de/feed/"><img--> + <!--class="rss-widget-icon" style="border:0" width="14" height="14"--> + <!--src="https://events.ccc.de/wp-includes/images/rss.png" alt="RSS"/></a> <a class="rsswidget"--> + <!--href="https://events.ccc.de/">Feed</a>--> + <!--</h3>--> + <!--<ul>--> + <!--<li><a class='rsswidget'--> + <!--href='https://events.ccc.de/2018/09/25/rgb2r-v18-vom-2018-10-26-bis-2018-10-28/'>RGB2R--> + <!--v18 vom 2018-10-26 bis 2018-10-28</a></li>--> + <!--<li><a class='rsswidget' href='https://events.ccc.de/2018/09/11/whats-new-in-35c3-fahrplan/'>What’s--> + <!--new in 35C3 Fahrplan?</a></li>--> + <!--<li><a class='rsswidget'--> + <!--href='https://events.ccc.de/2018/09/11/35c3-call-for-participation-and-submission-guidelines/'>35C3:--> + <!--Call for Participation and Submission Guidelines</a></li>--> + <!--<li><a class='rsswidget'--> + <!--href='https://events.ccc.de/2018/09/11/35c3-call-for-participation-und-leitfaden-zur-einreichung/'>35C3:--> + <!--Call for Participation und Leitfaden zur Einreichung</a></li>--> + <!--<li><a class='rsswidget'--> + <!--href='https://events.ccc.de/2018/07/19/einladung-zu-den-datenspuren-2018/'>Einladung zu--> + <!--den Datenspuren 2018</a></li>--> + <!--<li><a class='rsswidget'--> + <!--href='https://events.ccc.de/2018/07/13/last-minute-chaos-reisen-ctdobbq18-next-week/'>Last--> + <!--Minute Chaos Reisen: #ctdoBBQ18 – next Week!</a></li>--> + <!--<li><a class='rsswidget' href='https://events.ccc.de/2018/07/08/hacken-open-air-2/'>Hacken Open--> + <!--Air</a></li>--> + <!--<li><a class='rsswidget'--> + <!--href='https://events.ccc.de/2018/07/07/tickets-fur-die-funfte-das-ist-netzpolitik-konferenz/'>Tickets--> + <!--für die fünfte „Das ist Netzpolitik!“-Konferenz</a></li>--> + <!--<li><a class='rsswidget'--> + <!--href='https://events.ccc.de/2018/06/20/call-for-participation-tuwat-fur-einen-nachhaltigen-hacktivismus/'>Call--> + <!--for Participation: #tuwat für einen nachhaltigen Hacktivismus!</a></li>--> + <!--</ul>--> + <!--</div>--> + <!--<div class="clear"></div>--> + <!--</div>--> + <!--<div class="widget widget_categories">--> + <!--<div class="widget-content"><h3 class="widget-title">Categories</h3>--> + <!--<ul>--> + <!--<li class="cat-item cat-item-200"><a href="https://events.ccc.de/category/assemblies/">Assemblies</a>--> + <!--(16)--> + <!--</li>--> + <!--<li class="cat-item cat-item-15"><a href="https://events.ccc.de/category/call-for-papers/"--> + <!--title="All Call for Papers posts">Call for Papers</a> (74)--> + <!--</li>--> + <!--<li class="cat-item cat-item-16"><a href="https://events.ccc.de/category/camp/">Camp</a> (86)--> + <!--<ul class='children'>--> + <!--<li class="cat-item cat-item-106"><a--> + <!--href="https://events.ccc.de/category/camp/camp-2011/">Camp 2011</a> (14)--> + <!--</li>--> + <!--<li class="cat-item cat-item-228"><a--> + <!--href="https://events.ccc.de/category/camp/camp2015/"--> + <!--title="Chaos Communication Camp 2015">Camp 2015</a> (27)--> + <!--</li>--> + <!--</ul>--> + <!--</li>--> + <!--<li class="cat-item cat-item-3"><a href="https://events.ccc.de/category/ccc/"--> + <!--title="News about the Chaos Computer Club in general">CCC</a>--> + <!--(317)--> + <!--</li>--> + <!--<li class="cat-item cat-item-267"><a--> + <!--href="https://events.ccc.de/category/congress/">Congress</a> (468)--> + <!--<ul class='children'>--> + <!--<li class="cat-item cat-item-227"><a--> + <!--href="https://events.ccc.de/category/congress/1c2/">1C2</a> (2)--> + <!--</li>--> + <!--<li class="cat-item cat-item-1"><a href="https://events.ccc.de/category/congress/22c3/"--> + <!--title="Information about the 22nd Chaos Communication Congress">22C3</a>--> + <!--(108)--> + <!--</li>--> + <!--<li class="cat-item cat-item-13"><a href="https://events.ccc.de/category/congress/23c3/"--> + <!--title="23rd Chaos Communication Congress">23C3</a>--> + <!--(33)--> + <!--</li>--> + <!--<li class="cat-item cat-item-17"><a--> + <!--href="https://events.ccc.de/category/congress/24c3/">24C3</a> (17)--> + <!--</li>--> + <!--<li class="cat-item cat-item-268"><a--> + <!--href="https://events.ccc.de/category/congress/25c3/">25C3</a> (53)--> + <!--</li>--> + <!--<li class="cat-item cat-item-269"><a--> + <!--href="https://events.ccc.de/category/congress/26c3/"--> + <!--title="Information about the 26th Chaos Communication Congress">26C3</a> (12)--> + <!--</li>--> + <!--<li class="cat-item cat-item-105"><a--> + <!--href="https://events.ccc.de/category/congress/27c3/">27C3</a> (44)--> + <!--</li>--> + <!--<li class="cat-item cat-item-161"><a--> + <!--href="https://events.ccc.de/category/congress/28c3/">28C3</a> (16)--> + <!--</li>--> + <!--<li class="cat-item cat-item-181"><a--> + <!--href="https://events.ccc.de/category/congress/29c3/">29C3</a> (38)--> + <!--</li>--> + <!--<li class="cat-item cat-item-270"><a--> + <!--href="https://events.ccc.de/category/congress/30c3/">30C3</a> (38)--> + <!--</li>--> + <!--<li class="cat-item cat-item-271"><a--> + <!--href="https://events.ccc.de/category/congress/31c3/">31C3</a> (34)--> + <!--</li>--> + <!--<li class="cat-item cat-item-266"><a--> + <!--href="https://events.ccc.de/category/congress/32c3/">32C3</a> (22)--> + <!--</li>--> + <!--<li class="cat-item cat-item-307"><a--> + <!--href="https://events.ccc.de/category/congress/33c3/"--> + <!--title="Information about the 33rd Chaos Communication Congress">33C3</a> (25)--> + <!--</li>--> + <!--<li class="cat-item cat-item-343"><a--> + <!--href="https://events.ccc.de/category/congress/34c3/">34C3</a> (18)--> + <!--</li>--> + <!--<li class="cat-item cat-item-358"><a--> + <!--href="https://events.ccc.de/category/congress/35c3/">35C3</a> (3)--> + <!--</li>--> + <!--</ul>--> + <!--</li>--> + <!--<li class="cat-item cat-item-229"><a href="https://events.ccc.de/category/datengarten/">Datengarten</a>--> + <!--(1)--> + <!--</li>--> + <!--<li class="cat-item cat-item-14"><a href="https://events.ccc.de/category/datenspuren/"--> + <!--title="Nachrichten von den Datenspuren in Dresden">Datenspuren</a>--> + <!--(21)--> + <!--</li>--> + <!--<li class="cat-item cat-item-272"><a href="https://events.ccc.de/category/easterhegg/">Easterhegg</a>--> + <!--(17)--> + <!--<ul class='children'>--> + <!--<li class="cat-item cat-item-18"><a--> + <!--href="https://events.ccc.de/category/easterhegg/easterhegg-2008/">Easterhegg--> + <!--2008</a> (2)--> + <!--</li>--> + <!--<li class="cat-item cat-item-95"><a--> + <!--href="https://events.ccc.de/category/easterhegg/easterhegg-2010/">Easterhegg--> + <!--2010</a> (4)--> + <!--</li>--> + <!--<li class="cat-item cat-item-175"><a--> + <!--href="https://events.ccc.de/category/easterhegg/easterhegg-2012/">Easterhegg--> + <!--2012</a> (1)--> + <!--</li>--> + <!--<li class="cat-item cat-item-211"><a--> + <!--href="https://events.ccc.de/category/easterhegg/easterhegg-2014/">Easterhegg--> + <!--2014</a> (4)--> + <!--</li>--> + <!--<li class="cat-item cat-item-356"><a--> + <!--href="https://events.ccc.de/category/easterhegg/easterhegg-2018/">EasterHegg--> + <!--2018</a> (1)--> + <!--</li>--> + <!--</ul>--> + <!--</li>--> + <!--<li class="cat-item cat-item-220"><a href="https://events.ccc.de/category/friends/">Friends</a>--> + <!--(16)--> + <!--</li>--> + <!--<li class="cat-item cat-item-195"><a href="https://events.ccc.de/category/geekend/">Geekend</a>--> + <!--(9)--> + <!--</li>--> + <!--<li class="cat-item cat-item-80"><a href="https://events.ccc.de/category/gpn/"--> + <!--title="Gulaschprogrammiernacht">GPN</a> (26)--> + <!--</li>--> + <!--<li class="cat-item cat-item-198"><a--> + <!--href="https://events.ccc.de/category/hackover-2/">Hackover</a> (10)--> + <!--</li>--> + <!--<li class="cat-item cat-item-201"><a href="https://events.ccc.de/category/kids/">Kids</a> (5)--> + <!--</li>--> + <!--<li class="cat-item cat-item-273"><a--> + <!--href="https://events.ccc.de/category/language/">Language</a> (519)--> + <!--<ul class='children'>--> + <!--<li class="cat-item cat-item-6"><a--> + <!--href="https://events.ccc.de/category/language/deutsch/"--> + <!--title="In Deutsch geschriebene Einträge">Deutsch</a> (222)--> + <!--</li>--> + <!--<li class="cat-item cat-item-274"><a--> + <!--href="https://events.ccc.de/category/language/english/"--> + <!--title="Posts written in english">English</a> (360)--> + <!--</li>--> + <!--</ul>--> + <!--</li>--> + <!--<li class="cat-item cat-item-85"><a href="https://events.ccc.de/category/mrmcds/">MRMCDs</a>--> + <!--(42)--> + <!--</li>--> + <!--<li class="cat-item cat-item-4"><a href="https://events.ccc.de/category/podcast/"--> + <!--title="Posts carrying a podcast">Podcast</a> (4)--> + <!--</li>--> + <!--<li class="cat-item cat-item-72"><a href="https://events.ccc.de/category/sigint/"--> + <!--title="Texte zur SIGINT in Köln">SIGINT</a> (31)--> + <!--</li>--> + <!--<li class="cat-item cat-item-225"><a href="https://events.ccc.de/category/streams/">Streams</a>--> + <!--(3)--> + <!--</li>--> + <!--<li class="cat-item cat-item-189"><a href="https://events.ccc.de/category/venue/">Venue</a> (6)--> + <!--</li>--> + <!--</ul>--> + <!--</div>--> + <!--<div class="clear"></div>--> + <!--</div>--> + <!--<div class="widget widget_meta">--> + <!--<div class="widget-content"><h3 class="widget-title">Meta</h3>--> + <!--<ul>--> + <!--<li><a href="https://events.ccc.de/wp-login.php">Log in</a></li>--> + <!--<li><a href="https://events.ccc.de/feed/">Entries <abbr--> + <!--title="Really Simple Syndication">RSS</abbr></a></li>--> + <!--<li><a href="https://events.ccc.de/comments/feed/">Comments <abbr--> + <!--title="Really Simple Syndication">RSS</abbr></a></li>--> + <!--<li><a href="https://wordpress.org/"--> + <!--title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a>--> + <!--</li>--> + <!--</ul>--> + <!--</div>--> + <!--<div class="clear"></div>--> + <!--</div>--> + </div><!-- /sidebar --> + + + <div class="clear" style="height: 50px"></div> + + </div><!-- .wrapper --> + + <div class="footer section large-padding bg-dark"> + + <div class="footer-inner section-inner"> + + <!-- .footer-a --> + + <!-- .footer-b --> + + <!-- .footer-c --> + + <div class="clear"></div> + + </div><!-- .footer-inner --> + + </div><!-- .footer --> + + <div class="credits section bg-dark no-padding"> + + <div class="credits-inner section-inner"> + + <p class="credits-left"> + + © 2018 <a href="https://www.ccc.de/">Chaos Computer Club e.V.</a> – <a href="https://www.ccc.de/de/imprint">Impressum / Datenschutz</a> + + </p> + + <p class="credits-right"> + <span>Theme by <a href="http://www.andersnoren.se">Anders Noren</a></span> — <a title="To the top" class="tothetop">Up ↑</a> + </p> + + <div class="clear"></div> + + </div><!-- .credits-inner --> + + </div><!-- .credits --> + +</div><!-- .big-wrapper --> + +<script type='text/javascript' src='/theme/hemingway/global.js'></script> + +</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 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Categories{% endblock %} + +{% block content_title %} + <h1>Categories for {{ SITENAME }}</h1> +{% endblock %} + +{% block content %} + <ul> + {% for category, articles in categories %} + <li><a href="{{ SITEURL }}/{{ category.url }}">{{ category }}</a></li> + {% endfor %} + </ul> +{% 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 @@ +{% extends "index.html" %} + +{% block title %} + {% if category == "medien" %} + {{ SITENAME }} | Medienmitteilungen + {% elif category == "pressreview" %} + {{ SITENAME }} | Pressereaktionen + {% else %} + {{ SITENAME }} | Articles in the {{ category }} category + {% endif %} +{% endblock %} + +{% block content_title %} + {% if category == "medien" %} + <h1>Medienmitteilungen</h1> + {% elif category == "pressreview" %} + <h1>Pressereaktionen</h1> + {% else %} + <h1>Articles in the {{ category }} category</h1> + {% endif %} +{% endblock %} + +{% block content %} + {% if category == "pressreview" %} + + {% for article in dates %} + + {% if (dates[loop.index-1].date.strftime("%Y")) != ((dates[loop.index-2]).date.strftime("%Y")) %} + <h2> {{ article.date.strftime("%Y") }} </h2> + {% endif %} + + {% if (dates[loop.index-1].date.strftime("%Y%m%d")) != ((dates[loop.index-2]).date.strftime("%Y%m%d")) %} + <h3> {{ article.date.strftime("%-d. %B") }} </h3> + <ul> + {% endif %} + + <li> + {{ article.publisher }}: <a href="{{ article.ext_url }}">{{ article.title }}</a> + </li> + + {% if dates[loop.index] %} + {% if (dates[loop.index-1].date.strftime("%Y%m%d")) != ((dates[loop.index]).date.strftime("%Y%m%d")) %} + </ul> + {% endif %} + {% else %} + </ul> + {% endif %} + + {% endfor %} + + {% else %} + <ul> + {% for article in dates %} + <li> + <article class="hentry"> + {{ article.date.strftime("%A, %b %-d, %Y") }} - <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a><br /> + </article> + </li> + {% endfor %} + </ul> + {% endif %} + <h2>Abonniere diesen Kanal</h2> + <ul> + <li><a href="feeds/rss_{{ category }}.xml">RSS Feed</a> </li> + <li><a href="feeds/atom_{{ category }}.xml">ATOM Feed</a> </li> + </ul> +{% 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 @@ +{% extends "base.html" %} +{% block translation %} +{% import 'translations.html' as translations with context %} +{{ translations.translations_for(page) }} +{% endblock %} + +{% block content_title %} +{% endblock %}} +{% block content_meta %} +{% endblock %}} + +{% block content %} +{{ page.content }} +{% 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 @@ +{% extends "base.html" %} + +{% block content_title %}{% endblock %} + +{% block content %} +{% if articles %} + {% for article in articles_page.object_list %} + <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 %} 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 @@ +{% 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 %} 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 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} | {{ page.longtitle }}{%endblock%} + +{% block translation %} +{% import 'translations.html' as translations with context %} +{{ translations.translations_for(page) }} +{% endblock %} + +{% block translation2 %} +{% import 'translations.html' as translations with context %} +{{ translations.translations_for(page) }} +{% endblock %} + +{% block content_title %} +<h1 class="post-title">{{ page.longtitle }}</h1> + +{% endblock %} +{% block content_meta %} +{% endblock %}} + + +{% block content %} +{{ page.content }} +{% endblock %} + 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 @@ +{% if DEFAULT_PAGINATION %} +<p class="paginator"> + {% if articles_page.has_previous() %} + <a href="{{ SITEURL }}/{{ articles_previous_page.url }}">«</a> + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + <a href="{{ SITEURL }}/{{ articles_next_page.url }}">»</a> + {% endif %} +</p> +{% 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 @@ +{% extends "base.html" %} + +{% block content_title %} + <h1>Archives for {{ period | reverse | join(' ') }}</h1> +{% endblock %} + +{% block content %} + <dl> + {% for article in dates %} + <dt>{{ article.locale_date }}</dt> + <dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> + {% endfor %} + </dl> +{% 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 @@ +{% macro rss_for(article) %} +{% if article.lang %} + <a href="{{ article.lang }}/feeds/rss_{{ article.lang }}.xml" > + <img height="19px" width="19px" alt="rss" src="/theme/rss-icon.png" /> + </a> +{% endif %} +{% 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 @@ +{% extends "index.html" %} + +{% block title %}{{ SITENAME }} - Articles tagged with {{ tag }}{% endblock %} + +{% block content_title %} + <h1>Articles tagged with {{ tag }}</h1> +{% 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 @@ +{% extends "base.html" %} + +{% block title %}{{ SITENAME }} - Tags{% endblock %} + +{% block content_title %} + <h1>Tags for {{ SITENAME }}</h1> +{% endblock %} + +{% block content %} + <ul> + {% for tag, articles in tags|sort %} + <li><a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a> ({{ articles|count }})</li> + {% endfor %} + </ul> +{% 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 @@ +{% macro translations_for(article) %} +{% if article.translations %} + <!--<li role="presentation" class="active"><a href="#">{{ DEFAULT_LANG }}</a></li>--> + {% for translation in article.translations %} +<li class="page_item page-item-181"><a href="{{ SITEURL }}/{{ translation.url }}"><img src="{{ SITEURL}}/theme/images/{{ translation.lang }}.png"></a></li> + {% endfor %} +{% endif %} +{% endmacro %} -- cgit v1.2.3