extends parts/page
block meta_data
- page_type = "article";
- page_title = content.title;
- page_url = "/post/" ~ content.slug;
- page_description = content.excerpt;
block extra_meta_data
meta(name="og:article:author:username", content=content.author)
meta(name="og:article:published_time", content=content.firstPublished.toISOExtString)
- if (content.isModified)
meta(name="og:article:modified_time", content=content.updated.toISOExtString)
block content
article(itemscope, itemtype="https://schema.org/BlogPosting")
- import utils;
header
h1.title(itemprop="headline") #{content.title}
p.subtitle
| By #{content.author}
| on
- if (content.isModified)
|, updated on
section(itemprop="articleBody") !{content.content}