From 588d7c54ea52404790c52e688cd0f16dcbc25015 Mon Sep 17 00:00:00 2001
From: Tom Teichler <tom.teichler@teckids.org>
Date: Sun, 15 Mar 2020 21:55:24 +0100
Subject: [PATCH] Add template for archives

---
 templates/archives.html |  7 +++++++
 templates/base.html     | 14 --------------
 2 files changed, 7 insertions(+), 14 deletions(-)
 create mode 100644 templates/archives.html

diff --git a/templates/archives.html b/templates/archives.html
new file mode 100644
index 0000000..dccb690
--- /dev/null
+++ b/templates/archives.html
@@ -0,0 +1,7 @@
+{% extends "page.html" %}
+
+{% block title %}{{ SITENAME }} — Archives{% endblock %}
+<div class="col-md-12 col-sm-12">
+    {% block content_title %}
+    {% endblock %}
+</div>
diff --git a/templates/base.html b/templates/base.html
index 8724946..ae9ffcb 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -102,20 +102,6 @@
     <!-- Main Content -->
     {% block content %}{% endblock %}
 
-    {% block news %}
-        <div class="col-xs-10 col-xs-offset-1 col-sm-4 col-sm-offset-1">
-            <h3>News</h3>
-            {% for article in articles %}
-                <h4><a href="{{ article.url }}">{{ article.title }}</a></h4>
-                {{ article.date }} · <a href="{{ article.author.url }}">{{ article.author }}</a>
-                <p>
-                 {{ article.summary }}
-                </p>
-                <p><a href="{{ article.url }}">More info…</a></p>
-            {% endfor %}
-        </div>
-    {% endblock %}
-
     <!-- Sponsoren Footer -->
     <footer class="page-footer" id="sponsoren-footer">
         <div class="container">
-- 
GitLab