aboutsummaryrefslogtreecommitdiffstats
path: root/_includes/post.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/post.html')
-rw-r--r--_includes/post.html22
1 files changed, 10 insertions, 12 deletions
diff --git a/_includes/post.html b/_includes/post.html
index bbe28d9..baecde7 100644
--- a/_includes/post.html
+++ b/_includes/post.html
@@ -1,21 +1,19 @@
---json
{
-"layout": "base.html",
-"tags": [
-"post"
-]
+"layout": "base"
}
---
-<article itemscope itemtype={% schema "BlogPosting" %}>
- <h1>{{ title }}</h1>
+<article itemscope :itemtype="schema('BlogPosting')">
+ <h1 @text="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>
+ <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>
- <div temprop: "articleBody">{{ content | safe }}</div>
+ <p><small itemprop="abstract" @content="(description"></small></p>
+ <div itemprop="articleBody" @html="content" />
</article>