A Python content management system designed for kirsle.net featuring a blog, comments and photo albums. https://rophako.kirsle.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
795B

  1. {# Older/Newer links #}
  2. {% if can_older or can_newer %}
  3. <div class="right">
  4. [
  5. <a href="/rss">RSS Feed</a> | {# TODO! #}
  6. {% if can_earlier %}
  7. {% if category %}
  8. <a href="{{ url_for('blog.category', category=category) }}?skip={{ earlier }}">&lt; Newer</a>
  9. {% else %}
  10. <a href="{{ url_for('blog.index') }}?skip={{ earlier }}">&lt; Newer</a>
  11. {% endif %}
  12. {% if can_older %} | {% endif %}
  13. {% endif %}
  14. {% if can_older %}
  15. {% if category %}
  16. <a href="{{ url_for('blog.category', category=category) }}?skip={{ older }}">Older &gt;</a>
  17. {% else %}
  18. <a href="{{ url_for('blog.index') }}?skip={{ older }}">Older &gt;</a>
  19. {% endif %}
  20. {% endif %}
  21. ]
  22. </div>
  23. {% endif %}