friendenstein/templates/blog-page.html

18 lines
649 B
HTML
Raw Normal View History

2023-07-04 02:37:44 +02:00
{% extends "base.html" %}
{% block 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 %}
2023-07-04 02:37:44 +02:00
2023-12-26 01:11:47 +01:00
<article>{% include "base-page.html" %}</article>
2023-07-04 02:37:44 +02:00
2023-12-25 00:41:54 +01:00
{% endblock content %}