Rewrite Reddit post links to Libreddit equivalents

This commit is contained in:
spikecodes
2021-12-26 21:18:20 -08:00
parent 150ebe38f3
commit 7aeabfc4bc
10 changed files with 112 additions and 175 deletions

View File

@ -64,22 +64,22 @@
{% endif %}
<footer>
{% if ends.0 != "" %}
{% if !ends.0.is_empty() %}
<a href="?sort={{ sort.0 }}&t={{ sort.1 }}&before={{ ends.0 }}">PREV</a>
{% endif %}
{% if ends.1 != "" %}
{% if !ends.1.is_empty() %}
<a href="?sort={{ sort.0 }}&t={{ sort.1 }}&after={{ ends.1 }}">NEXT</a>
{% endif %}
</footer>
</div>
{% endif %}
{% if is_filtered || (sub.name != "" && !sub.name.contains("+")) %}
{% if is_filtered || (!sub.name.is_empty() && !sub.name.contains("+")) %}
<aside>
{% if is_filtered %}
<center>(Content from r/{{ sub.name }} has been filtered)</center>
{% endif %}
{% if sub.name != "" && !sub.name.contains("+") %}
{% if !sub.name.is_empty() && !sub.name.contains("+") %}
<div class="panel" id="subreddit">
{% if sub.wiki %}
<div id="top">