don't hardcode styles to present, use config

now that we can override the styles in practice, we also need to only
present what is possible in the HTML
This commit is contained in:
2022-12-31 09:53:22 -06:00
parent fd0fb390ff
commit 4a2f650a33
3 changed files with 33 additions and 3 deletions

View File

@@ -20,9 +20,9 @@
{% endfor %}
</div>
<div class="styles">
<a href="?style=dark">[dark]</a>
<a href="?style=light">[light]</a>
<a href="?style=plain">[plain]</a>
{% for style in page_styles %}
<a href="?style={{ style }}">[{{ style }}]</a>
{% endfor %}
</div>
</div>
{% endblock %}