summaryrefslogtreecommitdiffstats
path: root/_includes/post.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/post.html')
-rw-r--r--_includes/post.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/_includes/post.html b/_includes/post.html
new file mode 100644
index 0000000..bbe28d9
--- /dev/null
+++ b/_includes/post.html
@@ -0,0 +1,21 @@
+---json
+{
+"layout": "base.html",
+"tags": [
+"post"
+]
+}
+---
+<article itemscope itemtype={% schema "BlogPosting" %}>
+ <h1>{{ title }}</h1>
+ <small>
+ <time datetime="{{ page.date | htmlDateString }}" itemprop="datePublished">{{ page.date | readableDate
+ }}</time>
+ - <span itemprop="author" itemscope itemtype="{% schema " Person" %}>
+ <a href="{{metadata.author.url}}" rel="author" itemprop="url">
+ <span itemprop="name">{{metadata.author.name}}</span>
+ </a>
+ </span>
+ </small>
+ <div temprop: "articleBody">{{ content | safe }}</div>
+</article>