samhuri.net/Tests/test-posts/in/templates/partial-post.html
Sami Samhuri 652d192560 Hide .html extensions on all pages by default
This uses the same old page-title/index.html trick that was used before.
2019-12-10 00:27:56 -08:00

12 lines
335 B
HTML

<article>
<header>
{% if post.isLink %}
<h2>&rarr; <a href="{{ post.link }}">{{ post.title }}</a></h2>
{% else %}
<h2><a href="{{ post.path }}">{{ post.title }}</a></h2>
{% endif %}
<time>{{ post.formattedDate }}</time>
<a class="permalink" href="{{ post.path }}">&infin;</a>
</header>
{{ post.body }}
</article>