Add pages to subreddits

This commit is contained in:
spikecodes
2020-11-19 13:49:32 -08:00
parent 0054557c86
commit 7a176c6804
8 changed files with 95 additions and 39 deletions

View File

@ -47,6 +47,16 @@
<img class="post_thumbnail" src="{{ post.media }}">
</div><br>
{% endfor %}
<footer>
{% if ends.0 != "" %}
<a href="?before={{ ends.0 }}">PREV</a>
{% endif %}
{% if ends.1 != "" %}
<a href="?after={{ ends.1 }}">NEXT</a>
{% endif %}
</footer>
</main>
</body>
</html>

View File

@ -58,6 +58,16 @@
<img class="post_thumbnail" src="{{ post.media }}">
</div><br>
{% endfor %}
<footer>
{% if ends.0 != "" %}
<a href="?before={{ ends.0 }}">PREV</a>
{% endif %}
{% if ends.1 != "" %}
<a href="?after={{ ends.1 }}">NEXT</a>
{% endif %}
</footer>
</main>
</body>
</html>