add a guide topics system
This commit is contained in:
19
app/templates/guides/guides_index.html
Normal file
19
app/templates/guides/guides_index.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user