feat: hide default feeds option (#370)

This commit is contained in:
Matthew Esposito 2025-02-06 13:03:42 -05:00 committed by GitHub
parent 85329c96a7
commit 5265ccb033
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 78 additions and 7 deletions

View file

@ -43,8 +43,10 @@
<div id="feed_list">
<p>MAIN FEEDS</p>
<a href="/">Home</a>
<a href="/r/popular">Popular</a>
<a href="/r/all">All</a>
{% if prefs.remove_default_feeds != "on" %}
<a href="/r/popular">Popular</a>
<a href="/r/all">All</a>
{% endif %}
{% if prefs.subscriptions.len() > 0 %}
<p>REDDIT FEEDS</p>
{% for sub in prefs.subscriptions %}