2019-07-01 01:31:51 +00:00
|
|
|
{% macro meta(page) %}
|
|
|
|
<span class="meta muted">
|
2019-07-01 22:01:46 +00:00
|
|
|
{#
|
2019-07-01 01:31:51 +00:00
|
|
|
<svg style="margin-bottom:-3px" class="i-clock" viewBox="0 0 32 32"
|
|
|
|
width="16" height="16" fill="none" stroke="currentcolor"
|
|
|
|
stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
|
|
|
|
<circle cx="16" cy="16" r="14"/>
|
|
|
|
<path d="M16 8 L16 16 20 20"/>
|
|
|
|
</svg>
|
2019-07-01 22:01:46 +00:00
|
|
|
#}
|
|
|
|
{{ load_data(path="static/icons/glyphicons-halflings-27-clock.svg") | safe }}
|
2019-07-01 01:31:51 +00:00
|
|
|
<span>{{ page.reading_time }} minute read</span>
|
|
|
|
|
|
|
|
{% if page.date %}
|
2019-07-01 22:01:46 +00:00
|
|
|
|
|
|
|
{#
|
2019-07-01 01:31:51 +00:00
|
|
|
<svg style="margin-bottom: -3px" class="i-edit" viewBox="0 0 32 32"
|
|
|
|
width="16" height="16" fill="none" stroke="currentcolor"
|
|
|
|
stroke-linecap="round" stroke-linejoin="round" stroke-width="6.25%">
|
|
|
|
<path d="M30 7 L25 2 5 22 3 29 10 27 Z M21 6 L26 11 Z M5 22 L10 27 Z"/>
|
|
|
|
</svg>
|
2019-07-01 22:01:46 +00:00
|
|
|
#}
|
|
|
|
{{ load_data(path="static/icons/glyphicons-halflings-21-calendar.svg") | safe }}
|
2019-07-01 01:31:51 +00:00
|
|
|
Published: {{ page.date | date(format="%F") }}
|
|
|
|
{% endif %}
|
|
|
|
</span>
|
|
|
|
{% endmacro meta %}
|
|
|
|
|
|
|
|
{% macro page_in_list(page) %}
|
|
|
|
<article itemscope itemtype="http://schema.org/CreativeWork">
|
|
|
|
<header>
|
|
|
|
<h1 itemprop="name">
|
|
|
|
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
|
|
|
|
</h1>
|
|
|
|
{{ self::meta(page=page) }}
|
|
|
|
</header>
|
|
|
|
{% if page.summary %}
|
|
|
|
<div itemprop="summary">
|
|
|
|
{{ page.summary | safe }}
|
2019-07-01 18:44:24 +00:00
|
|
|
<nav class="readmore"><a itemprop="url" href="{{ page.permalink | safe }}#continue-reading">Continue Reading »</a></nav>
|
2019-07-01 01:31:51 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
</article>
|
|
|
|
{% endmacro page_in_list %}
|