friendenstein/templates/post.html

15 lines
605 B
HTML
Raw Normal View History

2024-01-02 12:18:18 +01:00
{% extends "page.html" %}
2023-07-04 02:37:44 +02:00
2024-01-02 12:18:18 +01:00
{% block pre_content %}
2024-01-02 02:31:44 +01:00
<div><a href="..">..</a>/<span class="metadata">{{ page.slug }}</span></div>
2023-12-26 17:26:52 +01:00
{% if config.extra.date_format.post %}
{% set datefmt = config.extra.date_format.post %}
{% else %}
{% set datefmt = "%Y-%m-%dT%H:%M:%S%Z" %}
{% endif %}
2024-01-02 02:31:44 +01:00
<time datetime="{{ page.date }}">Published on: <span class="metadata">{{ page.date | date(format=datefmt) }}</span></time>
2023-10-03 17:56:08 +02:00
{% if config.extra.author and config.extra.display_author == true %}
2024-01-02 02:31:44 +01:00
<address rel="author">By <span class="metadata">{{config.extra.author}}</span></address>
2023-10-03 17:56:08 +02:00
{% endif %}
2024-01-02 12:18:18 +01:00
{% endblock pre_content %}