11 lines
No EOL
395 B
Text
11 lines
No EOL
395 B
Text
{% macro article(id, title, body, publish_date) %}
|
|
<article>
|
|
<div class="post-content">
|
|
<a href="/id/{{ id }}" class="post-link">
|
|
<h2 class="post-title">{{ title }}</h2>
|
|
</a>
|
|
<sub class="post-publish-date"> {{ publish_date | date(format="%Y-%m-%d at %H:%M") }}</sub>
|
|
<p class="post-body">{{ body }}</p>
|
|
</div>
|
|
</article>
|
|
{% endmacro article %} |