{% if disallow is defined and disallow %} User-agent: * Disallow: /{% else %}User-Agent: *{% if list is defined %} {% for row in list.disallow %}Disallow: {{ row }} {% endfor %}{% endif %}{% if allows is defined %} {% for row in allows %}Allow: {{ row }} {% endfor %}{% endif %}Host: {{ host }}{% endif %}Sitemap: https://{{ host }}/sitemap.xml