{% if title == "Início" %}
{% set title = "Início" %}
{% elseif title == "Tag" %}
{% set title = "Tag: " + tag %}
{% endif %}
{% extends 'layout.html' %}
{% block body %}
{% if messages.success %}
{% for success in messages.success %}
{{ success.msg }}
{% endfor %}
{% endif %}
{% if messages.error %}
{% for error in messages.error %}
{{ error.msg }}
{% endfor %}
{% endif %}
{% if messages.info %}
{% for info in messages.info %}
{{ info.msg }}
{% endfor %}
{% endif %}
{% if title == "Início" %}
Adicionados recentemente
{% elseif tag %}
Tag: {{tag}}
{% endif %}