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

20 lines
561 B
HTML

{% extends 'base.html' %}
{% block title %}guides{% endblock %}
{% block content %}
<div class="darkbg settings-container">
<h1 class="thread-title">Guides index</h1>
<ul>
{% for category in categories %}
<li>
<h2><a href="{{ url_for('guides.category_index', category=category )}}">{{ category | replace('-', ' ') | title }}</a></h2>
<ul>
{% for page in categories[category] %}
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
</div>
{% endblock %}