popov.link/_layouts/post.html

32 lines
1.3 KiB
HTML
Raw Normal View History

2018-01-06 15:12:53 +03:00
---
layout: default
---
<article itemtype="http://schema.org/Article" itemscope>
<link itemprop="mainEntityOfPage" itemscope href="{{ page.url | absolute_url | uri_escape }}" />
<link itemprop="image" itemscope href="{{ page.image | default: site.image | absolute_url | uri_escape }}" />
<!-- Header -->
<header class="page-header">
<h1 class="text-muted">
<span itemprop="headline">{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</span>
<p><small><time itemprop="datePublished" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date_to_long_string }}</time></small></p>
</h1>
</header>
2018-04-11 04:05:18 +03:00
<!-- Description -->
<meta itemprop="description" content="{{ page.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />
<!-- Author -->
<section itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="email" content="{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />
<meta itemprop="name" content="{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}" />
</section>
<!-- Content -->
<section itemprop="articleBody">
{{ content }}
</section>
2018-04-11 04:05:18 +03:00
</article>