add a guide topics system

This commit is contained in:
2025-12-05 13:53:21 +03:00
parent 65abea2093
commit db677abaa5
17 changed files with 405 additions and 19 deletions

View File

@@ -0,0 +1,19 @@
{% 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 %}