mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-24 10:00:57 +00:00
Hide empty sidebar
This commit is contained in:
parent
f0a6bdc21b
commit
9eb42932df
3 changed files with 4 additions and 4 deletions
|
@ -74,12 +74,12 @@
|
|||
</footer>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if is_filtered || (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("+")) %}
|
||||
<aside>
|
||||
{% if is_filtered %}
|
||||
<center>(Content from r/{{ sub.name }} has been filtered)</center>
|
||||
{% endif %}
|
||||
{% if sub.name != "all" && sub.name != "popular" && !sub.name.contains("+") %}
|
||||
{% if !sub.name.is_empty() && sub.name != "all" && sub.name != "popular" && !sub.name.contains("+") %}
|
||||
<div class="panel" id="subreddit">
|
||||
{% if sub.wiki %}
|
||||
<div id="top">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue