|
|
|
@ -5,12 +5,6 @@
|
|
|
|
|
{{ current_section.title }}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
|
{{ page.content | safe }}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block menu %}
|
|
|
|
|
{% set global_section = get_section(path="_index.md") %}
|
|
|
|
|
{% for s in global_section.subsections %}
|
|
|
|
@ -23,10 +17,18 @@
|
|
|
|
|
|
|
|
|
|
{% block nav %}
|
|
|
|
|
{% if current_section.pages %}
|
|
|
|
|
<ul>
|
|
|
|
|
{% for post in current_section.pages %}
|
|
|
|
|
<li><a href="{{ post.permalink }}">{{ post.title }}</a></li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
<div id="nav">
|
|
|
|
|
<ul>
|
|
|
|
|
{% for post in current_section.pages %}
|
|
|
|
|
<li><a href="{{ post.permalink }}">{{ post.title }}</a></li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
<h1>{{ page.title }}</h1>
|
|
|
|
|
{{ page.content | safe }}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|