From ca7ede4f08243784705014ce208687f6c0152c22 Mon Sep 17 00:00:00 2001
From: Lukas Ruge <lukeslog@googlemail.com>
Date: Sun, 8 Jul 2018 10:21:28 +0200
Subject: [PATCH] actually add template

---
 _includes/postlistbytopic.html | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 _includes/postlistbytopic.html

diff --git a/_includes/postlistbytopic.html b/_includes/postlistbytopic.html
new file mode 100644
index 00000000..4407966a
--- /dev/null
+++ b/_includes/postlistbytopic.html
@@ -0,0 +1,14 @@
+<div>
+  <div  style="background-color: rgb(55,55,55);">
+    <h2 style="margin: 5px;">Weitere Artikel zu diesem Thema</h2>
+  </div>
+<ul style="margin: 25px;">
+  {% for post in site.posts reversed %}
+    {% if post.tags contains {{include.topic}} %}
+    <li>
+      <a href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a>
+    </li>
+    {% endif %}
+  {% endfor %}
+</ul>
+</div>
-- 
GitLab