aboutsummaryrefslogtreecommitdiff
path: root/templates/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/post.html b/templates/post.html
new file mode 100644
index 0000000..ae884d5
--- /dev/null
+++ b/templates/post.html
@@ -0,0 +1,30 @@
+{% extends "base.html" %}
+{% block headcontent %}
+<meta property="og:title" content="{{page.title}}" />
+<meta property="og:description" content="{{page.description}}" />
+<meta property="og:type" content="website" />
+<meta property="og:url" content="{{page.permalink}}" />
+<meta property="og:image" content="https://seccdn.libravatar.org/avatar/60676663f4ef6962ce3619df033ff144?s=128&d=identicon" />
+<meta property="og:image:width" content="128" />
+<meta property="og:image:height" content="128" />
+<meta name="theme-color" content="#a7c080" />
+<meta name="twitter:card" content="summary_large_image" />
+{% endblock headcontent %}
+{% block content %}
+<div class="window">
+ <div class="title-bar">
+ <b>📰 Post: {{ page.title }}</b>
+ <div class="title-bar-controls">
+ <button
+ aria-label="Help"
+ data-tooltip="Posted {{ page.date }}&#xa;{{ page.word_count }} words ({{ page.reading_time }} minutes)"
+ ></button>
+ <a href="../"><button aria-label="Close"></button></a>
+ </div>
+ </div>
+ <div class="window-body">
+ <h1>{{ page.title }}</h1>
+ <article>{{ page.content | safe}}</article>
+ </div>
+</div>
+{% endblock content %}