Files
2026-08-26 15:03:19 -03:00

71 lines
2.1 KiB
HTML

---
layout: default
---
{% assign license = site.posts | find: 'layout', 'license' %}
{%- assign date_format = site.i18n.date.format | default: '%b %-d, %Y' -%}
<article class="h-entry mw-content m-auto container pt-5" itemscope itemtype="http://schema.org/Article">
<header>
{% render 'sutty/title.html',
title: page.title,
description: page.description,
class: 'text-primary'
%}
{%- 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">
{{ 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 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 license -%}
<p itemprop="license" itemtype="http://schema.org/CreativeWork">
<a rel="license" itemprop="url" href="{{ license.url }}">
<span itemprop="articleBody">
{{ 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>