summaryrefslogtreecommitdiff
path: root/pyssg.xyz/plt/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'pyssg.xyz/plt/page.html')
-rw-r--r--pyssg.xyz/plt/page.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/pyssg.xyz/plt/page.html b/pyssg.xyz/plt/page.html
new file mode 100644
index 0000000..d7f5e43
--- /dev/null
+++ b/pyssg.xyz/plt/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>
+