aboutsummaryrefslogtreecommitdiffstats
path: root/includes/post.html
diff options
context:
space:
mode:
Diffstat (limited to 'includes/post.html')
-rw-r--r--includes/post.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/includes/post.html b/includes/post.html
new file mode 100644
index 0000000..baecde7
--- /dev/null
+++ b/includes/post.html
@@ -0,0 +1,19 @@
+---json
+{
+"layout": "base"
+}
+---
+<article itemscope :itemtype="schema('BlogPosting')">
+ <h1 @text="title"></h1>
+ <small>
+ <time :datetime="htmlDateString(page.date)" itemprop="datePublished"
+ @text="readableDate(page.date)"></time>
+ - <span itemprop="author" itemscope :itemtype="schema('Person')">
+ <a :href="metadata.author.url" rel="author" itemprop="url">
+ <span itemprop="name" @text="metadata.author.name"></span>
+ </a>
+ </span>
+ </small>
+ <p><small itemprop="abstract" @content="(description"></small></p>
+ <div itemprop="articleBody" @html="content" />
+</article>