Print article info
This commit is contained in:
@ -12,5 +12,15 @@
|
||||
<article>
|
||||
<h1><a href="{{ page.permalink }}">{{ page.title }}</a></h1>
|
||||
<p>{{ page.summary | safe }}</p>
|
||||
{{ self::page_info(page=page) }}
|
||||
</article>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro page_info(page) %}
|
||||
<div class="info">
|
||||
<span class="date">{{ page.date }}</span>
|
||||
{%- if page.extra.author -%}
|
||||
, <span class="author">{{ page.extra.author }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endmacro %}
|
||||
|
Reference in New Issue
Block a user