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>
|
2020-05-26 16:20:43 -05:00
|
|
|
<div class="post__stats">{{ page.word_count }} words | {{ page.reading_time }} minutes</div>
|
2020-04-12 15:59:04 -04:00
|
|
|
<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 %}
|