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

{% block title %}ADMIN!{% endblock %}

{% endblock %} {% block content %}
{% for post in posts %}

{{ post['title'] }}

{{ post['nickname'] }}

by {{ post['username'] }} on {{ post['created'].strftime('%Y-%m-%d') }}
{% if g.user['id'] %} Edit {% endif %}
{% if post['type'] == 'image' %} {% endif %} {% if post['type'] == 'video' %} {% endif %}

{{ post['body'] }}

{% if not loop.last %}
{% endif %}
{% endfor %}
{% endblock %}