finga
4aff0378ac
Deprecate the bulma css framework in favor of normalize and milligram. Adapt the templates to work with the new css libraries.
33 lines
834 B
HTML
33 lines
834 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{% if page.ancestors %}
|
|
{% set ancestor = get_section(path=page.ancestors | last) %}
|
|
{% if ancestor.extra %}
|
|
{{ config.title }} | {{ page.date }} - {{ page.title }} ({{ ancestor.title }})
|
|
{% else %}
|
|
{{ config.title }} | {{ page.title }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endblock title %}
|
|
|
|
{% block subtitle %}
|
|
{% if page.ancestors %}
|
|
{% set ancestor = get_section(path=page.ancestors | last) %}
|
|
{% if ancestor.extra %}
|
|
<h2>{{ ancestor.extra.start }} - {{ ancestor.extra.end }}: {{ ancestor.title }}</h2>
|
|
{% else %}
|
|
<h2>{{ page.title }}</h2>
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endblock subtitle %}
|
|
|
|
{% block content %}
|
|
{% if page.date %}
|
|
<h3>{{ page.title }} ({{ page.date }})</h3>
|
|
{% endif %}
|
|
{{ page.content | safe }}
|
|
{% if page.date %}
|
|
{% include "comments.html" %}
|
|
{% endif %}
|
|
{% endblock content %}
|