This repository has been archived on 2023-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
undefined-pelican-theme/templates/page.html

48 lines
907 B
HTML
Raw Permalink Normal View History

2022-08-28 14:58:11 +02:00
{% extends "base.html" %}
{%- block head_title %}
{{ SITENAME }} :: {{ page.title|striptags }}
{% endblock head_title %}
{% block head %}
{{ super() }}
{% if page.description %}
<meta name="description" content="{{page.description}}" />
{% endif %}
{% for tag in page.tags %}
<meta name="tags" content="{{tag}}" />
{% endfor %}
{% endblock %}
{%- block title %}
{{ page.title }}
{% endblock title %}
{%- block author %}
{% if page.authors %}
{% for author in page.authors %}
{{ author }}
{% if not loop.last %}
,
{% else %}
<br />
{% endif %}
{% endfor %}
{{ page.locale_date }}
{% if page.license %}
<br />
<a href="{{ page.license[1] }}">
{{ page.license[0] }}
</a>
{% endif %}
{% endif %}
{% endblock author %}
{%- block abstract %}
{{ page.summary }}
{% endblock abstract %}
{%- block content %}
{{ page.content }}
{% endblock content %}