create basic quicklist functionality

This commit is contained in:
2024-12-22 04:04:43 +13:00
parent e478575706
commit 9856b7fd47
6 changed files with 26 additions and 3 deletions

View File

@ -41,6 +41,12 @@
<details id="feeds">
<summary>Feeds</summary>
<div id="feed_list">
{% if prefs.quicklist.len() > 0 %}
<p>QUICK ACCESS FEEDS</p>
{% for sub in prefs.quicklist %}
<a href="/r/{{ sub }}" {% if sub == current %}class="selected"{% endif %}>{{ sub }}</a>
{% endfor %}
{% endif %}
<p>MAIN FEEDS</p>
<a href="/">Home</a>
<a href="/r/popular">Popular</a>