RFCartography/rfcartography/templates/generic.html

32 lines
512 B
HTML
Raw Normal View History

2023-01-03 14:42:54 +01:00
{% extends "base.html" %}
{%- block head_title %}
{{ title }} :: RFCartography
{% endblock head_title %}
{%- block main %}
<h1>
{{ title }}
</h1>
{% for chapter in content %}
{% for paragraph in chapter %}
{% if loop.first %}
<h2>
{{ paragraph }}
</h2>
{% else %}
<p>
{% if paragraph is string %}
{{ paragraph }}
{% else %}
{% for line in paragraph %}
{{ line }}
<br />
{% endfor %}
{% endif %}
</p>
{% endif %}
{% endfor %}
{% endfor %}
{% endblock main %}