Gered
83d75d4885
posts can be specified with a date only, or date and time as desired. it is up to the site's specific template to render posts with an appropriate date/time format string based on what the author's preferences
16 lines
365 B
HTML
16 lines
365 B
HTML
<article class="post">
|
|
<header>
|
|
<h1>{{ post.title }}</h1>
|
|
<div class="meta">
|
|
{{ post.date | date(format="%B %e, %Y") }} —
|
|
<span class="tags">
|
|
{%- for tag in post.tags -%}
|
|
<span><a href="/tag/{{ tag }}/">{{ tag }}</a></span>
|
|
{%- endfor -%}
|
|
</span>
|
|
</div>
|
|
</header>
|
|
<section>
|
|
{{ post.content_html | safe }}
|
|
</section>
|
|
</article> |