Libreddit -> Redlib

This commit is contained in:
Matthew Esposito
2023-12-26 18:25:52 -05:00
parent dac059573d
commit b0f985c687
38 changed files with 276 additions and 275 deletions

View File

@ -17,7 +17,7 @@
<p>
{% if crate::utils::sfw_only() %}
This instance of Libreddit is SFW-only.</p>
This instance of Redlib is SFW-only.</p>
{% else %}
Enable "Show NSFW posts" in <a href="/settings">settings</a> to view this {% if res_type == crate::utils::ResourceType::Subreddit %}subreddit{% else if res_type == crate::utils::ResourceType::User %}user's posts or comments{% else if res_type == crate::utils::ResourceType::Post %}post{% endif %}. <br>
{% if res_type == crate::utils::ResourceType::Post %} You can also temporarily bypass this gate and view the post by clicking on this <a href="{{url}}&bypass_nsfw_landing">link</a>.{% endif %}