From 11b9e8505b8a92555cce6615f19268a620e9ce53 Mon Sep 17 00:00:00 2001
From: David Luevano Alvarado <david@luevano.xyz>
Date: Fri, 4 Jun 2021 22:13:44 -0600
Subject: refactor and add support for jinija

---
 plt/tag.html | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 plt/tag.html

(limited to 'plt/tag.html')

diff --git a/plt/tag.html b/plt/tag.html
new file mode 100644
index 0000000..2fdc27b
--- /dev/null
+++ b/plt/tag.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="utf-8">
+    <base href="{{site_base_static_url}}">
+    <title>Posts filtered by {{tag[0]}} -- {{site_title}}</title>
+  </head>
+  <body>
+  <h1>Posts filtered by {{tag[0]}}</h1>
+  <p>Some text here.</p>
+
+  <h2>Articles</h2>
+  <ul>
+  {%for p in tag_pages%}
+    {%if loop.previtem%}
+      {%if loop.previtem.cdate_list_sep !=p.cdate_list_sep%}
+        <h3>{{p.cdate_list_sep}}</h3>
+      {%endif%}
+    {%else%}
+        <h3>{{p.cdate_list_sep}}</h3>
+    {%endif%}
+    <li>{{p.cdate_list}} - <a href="{{p.url}}">{{p.title}}</a></li>
+  {%endfor%}
+  </ul>
+  </body>
+</html>
-- 
cgit v1.2.3-70-g09d2