69 lines
2.1 KiB
HTML
69 lines
2.1 KiB
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<article class="h-entry" itemscope itemtype="http://schema.org/Article">
|
|
<header>
|
|
<h1 class="p-name" itemprop="name headline">{{ page.title | default: '' | escape }}</h1>
|
|
|
|
{%- if page.description -%}
|
|
<p class="lead p-summary" itemprop="description">{{ page.description | default: '' | escape }}</p>
|
|
{%- endif -%}
|
|
|
|
{%- if page.image.path -%}
|
|
<picture>
|
|
{% for size in site.images.sizes %}
|
|
<source srcset="{{ page.image.path | thumbnail: size }}" media="(max-width: {{ size }}px)" />
|
|
{% endfor %}
|
|
|
|
<img class="img-fluid" src="{{ page.image.path | thumbnail: 1140 }}" alt="{{ page.image.description }}" />
|
|
</picture>
|
|
{%- endif -%}
|
|
|
|
<p>
|
|
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
|
{%- assign date_format = site.i18n.date.format | default: "%b %-d, %Y" -%}
|
|
{{ page.date | date_local: date_format }}
|
|
</time>
|
|
{%- for author in page.author -%}
|
|
•
|
|
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
|
<span class="p-author h-card" itemprop="name">
|
|
{{ author | default: '' | escape }}
|
|
</span>
|
|
</span>
|
|
{%- endfor -%}
|
|
</p>
|
|
</header>
|
|
|
|
<div class="e-content" itemprop="articleBody">
|
|
{{ content }}
|
|
</div>
|
|
|
|
<footer>
|
|
<a class="u-url" itemprop="url" href="{{ page.url }}" hidden>
|
|
{{ site.url }}/{{ page.url }}
|
|
</a>
|
|
|
|
{%- if page.uuid -%}
|
|
<span hidden itemprop="identifier">{{ page.uuid }}</span>
|
|
{%- endif -%}
|
|
|
|
{%- if page.license.url -%}
|
|
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
|
|
<a rel="license" itemprop="url" href="{{ page.license.url }}">
|
|
<span itemprop="articleBody">
|
|
{{ page.license.description }}
|
|
</span>
|
|
</a>
|
|
</p>
|
|
{%- endif -%}
|
|
|
|
{%- if page.tags %}
|
|
<span itemprop="keywords" hidden>{{ page.tags | join: ', ' }}</span>
|
|
{%- for tag in page.tags -%}
|
|
<span hidden class="h-category">{{ tag }}</span>
|
|
{%- endfor -%}
|
|
{%- endif -%}
|
|
</footer>
|
|
</article>
|