mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-04 13:37:40 +03:00
Hide NSFW content by default
This commit is contained in:
parent
79027c4c75
commit
1653d4fb4c
7 changed files with 12 additions and 12 deletions
|
@ -31,7 +31,7 @@
|
|||
<div id="posts">
|
||||
{% for post in posts %}
|
||||
|
||||
{% if post.flags.nsfw && prefs.hide_nsfw == "on" %}
|
||||
{% if post.flags.nsfw && prefs.show_nsfw != "on" %}
|
||||
{% else if post.title != "Comment" %}
|
||||
<div class="post {% if post.flags.stickied %}stickied{% endif %}">
|
||||
<p class="post_header">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue