{% if title == "Início" %}
{% set title = "Início" %}
{% elseif title == "Tag" %}
{% set title = "Tag: " + tag %}
{% endif %}
{% extends 'layouts/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 %}
{% if watch == "" %}
Nada encontrado com a tag: {{ tag }}.
{% endif %}
{{ alltags }}
{% for w in watch %}
{% if w.featured == 'true'
or w.featured
and w.featured != "false"
and w.featured != "striked"
and w.status != "wrongtype"
and w.status != "nonlibre"
and w.status != "offensive"
and w.status != "striked" %}
Tags: {% set list1 = w.tags.split(',') %}{% for list in list1 %}{% if loop.index0 < 6 %}{{ list | trim}}{% endif %}{%if (loop.index0 < loop.length-1) or (loop.index0 < 6) %} {%endif%}{% endfor %}