summaryrefslogtreecommitdiff
path: root/_includes/views/post-header.html
blob: 82329bd042e5b030f7f082f292e489e05a677dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
<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>