@ -6,10 +6,10 @@
< h1 class = "title" > {% if title %}{{ title }}{% else %}Latest Memes{% endif %}< / h1 >
< h1 class = "title" > {% if title %}{{ title }}{% else %}Latest Memes{% endif %}< / h1 >
{% if request.args.content ! = 'feed' %}
{% if request.args.content = = 'feed' %}
< a href = "/ ?content=feed "> View Latest Memes< / a >
< a href = "/ "> View Latest Memes< / a >
{% else %}
{% else %}
< a href = "/ "> View Latest Tipped Posts< / a >
< a href = "/ ?content=latest_tipped "> View Latest Tipped Posts< / a >
{% endif %}
{% endif %}
< section class = "section" >
< section class = "section" >
@ -31,7 +31,7 @@
< p class = "title is-4" >
< p class = "title is-4" >
< a href = "{{ url_for('post.read', id=post.id) }}" > {{ post.title }}< / a >
< a href = "{{ url_for('post.read', id=post.id) }}" > {{ post.title }}< / a >
< / p >
< / p >
< p class = "subtitle is-6" > < a href = "/? content=feed& submitter={{ post.submitter }}"> {{ post.submitter }}< / a > < / p >
< p class = "subtitle is-6" > < a href = "/? submitter={{ post.submitter }}"> {{ post.submitter }}< / a > < / p >
< / div >
< / div >
< / div >
< / div >
@ -56,7 +56,7 @@
< nav class = "pagination is-centered pb-4" role = "navigation" aria-label = "pagination" >
< nav class = "pagination is-centered pb-4" role = "navigation" aria-label = "pagination" >
< ul class = "pagination-list" >
< ul class = "pagination-list" >
{% for p in range(1, total_pages + 1) %}
{% for p in range(1, total_pages + 1) %}
< a href = " /?content=feed& {% if request.args.submitter %}submitter={{ request.args.submitter }}&{% endif %}page={{ p }}" class = "pagination-link {% if p == page %}current-page-btn{% endif %}" > {{ p }}< / a >
< a href = " {% if request.args.submitter %}/? submitter={{ request.args.submitter }}&{% else %}/? {% endif %}page={{ p }}" class = "pagination-link {% if p == page %}current-page-btn{% endif %}" > {{ p }}< / a >
{% endfor %}
{% endfor %}
< / ul >
< / ul >
< / nav >
< / nav >