From b171347f739b2ada7960ad50bcba47e898d890d2 Mon Sep 17 00:00:00 2001
From: David Luevano Alvarado <david@luevano.xyz>
Date: Fri, 4 Jun 2021 23:50:58 -0600
Subject: reflect changes on updated pyssg using jinja templates

---
 blog/plt/index.html | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 blog/plt/index.html

(limited to 'blog/plt/index.html')

diff --git a/blog/plt/index.html b/blog/plt/index.html
new file mode 100644
index 0000000..7efcf20
--- /dev/null
+++ b/blog/plt/index.html
@@ -0,0 +1,34 @@
+{%extends "base.html"%}
+{%block content%}
+  <h1>Index -- {{site_title}}</h1>
+
+  <p>
+  Welcome to my blog where I'll post whatever I please, ranging from rants to how-to's. Además, este pex va a estar en español e inglés porque quiero (no una mezcla en cada entrada, pero sí entradas completas en diferentes lenguajes).
+  </p>
+
+  <p>
+  Get the RSS feed: <a target="_blank" href="{{site_base_url}}/rss.xml">{{site_base_url}}/rss.xml</a>
+  </p>
+
+  <div class="article-tags">
+    <p>Tags:
+    {%for t in all_tags%}
+      <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}}
+    {%endfor%}
+    </p>
+  </div>
+
+  <h2>Articles</h2>
+  <ul>
+    {%for p in all_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>
+{%endblock content%}
-- 
cgit v1.2.3-70-g09d2