summaryrefslogtreecommitdiff
path: root/pyssg.xyz/plt/blog/page.html
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-12-14 22:02:30 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-12-14 22:02:30 -0600
commit8461a3b8d48bc772ef449e37e5c98ffc254930fe (patch)
tree16ac0e759e6b361cd917602a25dad0bd128a8ea4 /pyssg.xyz/plt/blog/page.html
parentabc0de079b895af1b705894eb2b63596e3e37274 (diff)
add new files for pyssg.xyz, add multiple document support
Diffstat (limited to 'pyssg.xyz/plt/blog/page.html')
-rw-r--r--pyssg.xyz/plt/blog/page.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/pyssg.xyz/plt/blog/page.html b/pyssg.xyz/plt/blog/page.html
new file mode 100644
index 0000000..d7f5e43
--- /dev/null
+++ b/pyssg.xyz/plt/blog/page.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="{{page.lang}}">
+ <head>
+ <meta charset="utf-8">
+ <base href="{{config['url']['static']}}">
+ <title>{{page.title}} -- {{config['title']}}</title>
+ </head>
+ <body>
+ <h1>{{page.title}}</h1>
+ <p>By {{page.author}}</p>
+ <p>Created: {{page.cdate}}</p>
+ {%if page.mdate is not none%}
+ <p>Modified: {{page.mdate}}</p>
+ {%endif%}
+
+ {{page.content}}
+
+ <p>Tags:
+ {%for t in page.tags%}
+ <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}}
+ {%endfor%}
+ </p>
+ </body>
+</html>
+