16 lines
573 B
HTML
Raw Normal View History

2020-04-12 15:59:04 -04:00
{% macro title(page) %}
<header class="post__header">
<h1 class="post__title">
<a href="{{ page.permalink }}">{{ page.title }}</a>
</h1>
<div class="post__meta">
<span class="post__time">{{ page.date | date(format="%F") }}</span>
{% if page.category %}
<div class="post__category">
<a href="{{ get_taxonomy_url(kind="category", name=page.category) }}">{{ page.category }}</a>
</div>
{% endif %}
</div>
</header>
{% endmacro title %}