summaryrefslogtreecommitdiff
path: root/blog/plt/page.html
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2021-06-04 23:50:58 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2021-06-04 23:50:58 -0600
commitb171347f739b2ada7960ad50bcba47e898d890d2 (patch)
treec88d6c3cdfb39b7e8e7cb5ec5952160cd4cf9911 /blog/plt/page.html
parentfebe3173b7430266c36508927f3535c431f0aa8b (diff)
reflect changes on updated pyssg using jinja templates
Diffstat (limited to 'blog/plt/page.html')
-rw-r--r--blog/plt/page.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/blog/plt/page.html b/blog/plt/page.html
new file mode 100644
index 0000000..a98338e
--- /dev/null
+++ b/blog/plt/page.html
@@ -0,0 +1,22 @@
+{%extends "base.html"%}
+{%block content%}
+ <h1>{{page.title}}</h1>
+
+ {{page.content}}
+
+ <hr>
+ <div class="article-info">
+ <p>By {{page.author}}</p>
+ <p>Created: {{page.cdate}}</p>
+ {%if page.mdate is not none%}
+ <p>Modified: {{page.mdate}}</p>
+ {%endif%}
+ <div class="article-tags">
+ <p>Tags:
+ {%for t in page.tags%}
+ <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}}
+ {%endfor%}
+ </p>
+ </div>
+ </div>
+{%endblock content%}