27 lines
685 B
HTML
27 lines
685 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block page_title %}
|
|
{{page.title}} |
|
|
{% endblock page_title %}
|
|
|
|
{% block nav %}
|
|
<ul>
|
|
<!-- If you are using pagination, section.pages will be empty.
|
|
You need to use the paginator object -->
|
|
{% set section = get_section(path=page.ancestors | last) %}
|
|
<li><a href="{{ section.permalink | safe }}">{{ section.title | lower }}/</a></li>
|
|
{% for p in section.pages %}
|
|
<li><a href="{{ p.permalink | safe }}">{{ p.slug }}/</a></li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock nav %}
|
|
|
|
{% block content %}
|
|
<h1 class="title">
|
|
{{ page.title }}
|
|
</h1>
|
|
|
|
<p class="subtitle"><strong>{{ page.date }}</strong></p>
|
|
{{ page.content | safe }}
|
|
|
|
{% endblock content %}
|