Files
pyrom/app/templates/guides/_layout.html

22 lines
767 B
HTML

{% extends 'base.html' %}
{% from 'common/macros.html' import guide_sections with context %}
{% block title %}guide - {{ guide.title }}{% endblock %}
{% block content %}
<div class="darkbg" id="top">
<h1 class="thread-title">Guide: {{ guide.title }}</h1>
<ul class="horizontal">
<li><a href="{{ url_for('guides.category_index', category=category) }}">&uarr; Back to category</a></li>
{% if prev_guide %}
<li><a href="{{ prev_guide.url }}">&larr; Previous: {{ prev_guide.title }}</a></li>
{% endif %}
{% if next_guide %}
<li><a href="{{ next_guide.url }}">&rarr; Next: {{ next_guide.title }}</a></li>
{% endif %}
</ul>
</div>
{% call() guide_sections() %}
{% block guide_content %}
{% endblock %}
{% endcall %}
{% endblock %}