feat: adds hide summary sidebar option

This commit is contained in:
Ales Lerch 2024-05-13 23:49:59 +02:00
parent 27f25e0fb1
commit b6f5831d10
7 changed files with 23 additions and 7 deletions

View file

@ -82,7 +82,7 @@
</footer>
</div>
{% endif %}
{% if is_filtered || (!sub.name.is_empty() && sub.name != "all" && sub.name != "popular" && !sub.name.contains("+")) %}
{% if is_filtered || (!sub.name.is_empty() && sub.name != "all" && sub.name != "popular" && !sub.name.contains("+")) && prefs.hide_sidebar_and_summary != "on" %}
<aside>
{% if is_filtered %}
<center>(Content from r/{{ sub.name }} has been filtered)</center>