chris-website/views/pages/article.dt

21 lines
737 B
Plaintext
Raw Normal View History

2020-06-24 08:08:28 +00:00
extends /parts/page
block header
2020-06-24 15:40:20 +00:00
title #{content.title} - Chris Netsoj.nl
meta(name="og:title", content="#{content.title}")
meta(name="og:type", content="article")
meta(name="og:article", content="article")
2020-06-24 08:08:28 +00:00
block sidebar
block content
article(itemscope, itemtype="https://schema.org/BlogPosting")
2020-06-24 08:08:28 +00:00
- import utils;
header
h1.title(itemprop="headline") #{content.title}
2020-06-24 08:08:28 +00:00
p.subtitle
| By <span itemprop="author">#{content.author}</span>
| on <span itemprop="datePublished">#{content.firstPublished.toHumanString}</span>
2020-06-24 08:08:28 +00:00
- if (content.firstPublished != content.updated)
|, updated on <span itemprop="dateModified">#{content.updated.toHumanString}</span>
section(itemprop="articleBody") !{content.content}