blog/_includes/views/post-header.html
2019-09-11 12:21:17 +08:00

12 lines
478 B
HTML

<header class="post-header">
<h1 class="post-title p-name" itemprop="name headline">{{ heading | default: page.title | escape }}</h1>
<h3>{{ subheading | default: page.subtitle | escape }}</h3>
<p class="post-meta">
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{%- assign date_format = site.yat.date_format | default: "%b %-d, %Y" -%}
{{ page.date | date: date_format }}
</time>
</p>
</header>