{% extends 'base.html' %} {% block content %}

{% if title %}{{ title }}{% else %}Latest Memes{% endif %}

{% if request.args.content == 'latest_tipped' %} View Latest Memes {% else %} View Latest Tipped Posts {% endif %}
{% if posts %} {% for row in posts | batch(4) %}
{% for post in row %} {% set post = post.show() %}
{{ post.text | truncate(60) }}

{{ post.received_wow }} WOW received

({{ post.timestamp | humanize }})

{% endfor %}
{% endfor %} {% else %}

No posts yet!

{% endif %}
{% if total_pages %} {% endif %}
{% endblock %}