summaryrefslogtreecommitdiff
path: root/art/plt/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'art/plt/page.html')
-rw-r--r--art/plt/page.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/art/plt/page.html b/art/plt/page.html
new file mode 100644
index 0000000..dbb2734
--- /dev/null
+++ b/art/plt/page.html
@@ -0,0 +1,29 @@
+{%extends "base.html"%}
+{%block html_lang%}{{page.lang}}{%endblock html_lang%}
+{%block head_title%}{{page.title}}{%endblock head_title%}
+{%block head_description%}{{page.summary}}{%endblock head_description%}
+{%block head_og%}
+ <meta property="og:title" content="{{page.title}} -- {{config.title}}"/>
+ <meta property="og:type" content="article"/>
+ <meta property="og:url" content="{{page.url}}"/>
+ <meta property="og:image" content="{{page.image_url}}"/>
+ <meta property="og:description" content="{{page.summary}}"/>
+ <meta property="og:locale" content="{{page.lang}}"/>
+ <meta property="og:site_name" content="{{config.title}}"/>
+{%endblock head_og%}
+{%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%}
+ {%import "tag_list.html" as tag_list%}
+ {{tag_list.print(page.tags)}}
+ </div>
+{%endblock content%}