lightspeed/templates/page.html

29 lines
967 B
HTML
Raw Permalink Normal View History

2020-04-13 19:19:58 +00:00
{% extends "index.html" %}
{% block title %}{{ page.title }} · {{ config.title }}{% endblock title %}
{% block description %}{{ page.description | default(value=config.description) }}{% endblock description %}
2020-09-13 13:08:54 +00:00
{% block ogtitle %}{{ page.title }}{% endblock ogtitle %}
{% block ogdesc %}{{ page.description }}{% endblock ogdesc %}
{% block ogurl %}{{ page.permalink | safe }}{% endblock ogurl%}
{% block ogimage -%}
{%- if page.extra.image -%}{{ get_url(path=page.extra.image) | safe }}
{%- elif config.extra.ogimage -%}{{ get_url(path=config.extra.ogimage) | safe }}
{%- endif -%}
{%- endblock ogimage %}
2021-11-22 16:45:51 +00:00
{% block static %}
{% endblock static %}
2020-09-13 13:08:54 +00:00
2020-04-13 19:19:58 +00:00
{% block content %}
2020-04-14 18:42:35 +00:00
<article>
<h1>{{ page.title }}</h1>
2020-04-13 19:19:58 +00:00
2020-04-14 18:42:35 +00:00
{% if page.date %}
<p style="font-size:90%;">Posted on <time datetime="{{ page.date | date(format="%+") }}">{{ page.date | date(format="%B %d, %Y") }}</time></p>
{% endif %}
{{ page.content | safe }}
</article>
2020-04-13 19:19:58 +00:00
{% endblock content %}