Always show Feeds dropdown (Fixes #408)

This commit is contained in:
spikecodes 2022-05-20 22:42:05 -07:00
parent 322aa97a18
commit 7f5bfc04b3
No known key found for this signature in database
GPG Key ID: 004CECFF9B463BCB
1 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,6 @@
{%- endmacro %} {%- endmacro %}
{% macro sub_list(current) -%} {% macro sub_list(current) -%}
{% if prefs.subscriptions.len() > 0 %}
<details id="feeds"> <details id="feeds">
<summary>Feeds</summary> <summary>Feeds</summary>
<div id="feed_list"> <div id="feed_list">
@ -46,13 +45,14 @@
<a href="/">Home</a> <a href="/">Home</a>
<a href="/r/popular">Popular</a> <a href="/r/popular">Popular</a>
<a href="/r/all">All</a> <a href="/r/all">All</a>
<p>REDDIT FEEDS</p> {% if prefs.subscriptions.len() > 0 %}
{% for sub in prefs.subscriptions %} <p>REDDIT FEEDS</p>
<a href="/r/{{ sub }}" {% if sub == current %}class="selected"{% endif %}>{{ sub }}</a> {% for sub in prefs.subscriptions %}
{% endfor %} <a href="/r/{{ sub }}" {% if sub == current %}class="selected"{% endif %}>{{ sub }}</a>
{% endfor %}
{% endif %}
</div> </div>
</details> </details>
{% endif %}
{%- endmacro %} {%- endmacro %}
{% macro render_hls_notification(redirect_url) -%} {% macro render_hls_notification(redirect_url) -%}