Rename block sub_list > subscriptions

This commit is contained in:
Matthew Crossman 2021-01-30 19:47:30 +11:00
parent 11e4ff42ed
commit ef5a1cd66e
No known key found for this signature in database
GPG key ID: C6B942B019794CC2
8 changed files with 10 additions and 11 deletions

View file

@ -42,12 +42,13 @@
{% macro sub_list(current) -%}
{% if prefs.subs.len() > 0 %}
<div id="subscriptions">
<details id="subscriptions">
<summary>subscribed</summary>
<div id="sub_list">
{% for sub in prefs.subs %}
<a href="/r/{{ sub }}" {% if sub == current %}class="selected"{% endif %}>{{ sub }}</a>
{% endfor %}
</div>
</div>
</details>
{% endif %}
{%- endmacro %}