aboutsummaryrefslogtreecommitdiff
path: root/templates/robots.txt
blob: 09aba30dddf378d09de6325ce28c6f1f57478bc3 (plain)
1
2
3
4
5
6
7
8
9
{%- if config.extra.prod %}
Sitemap: {{ get_url(path="sitemap.xml", trailing_slash=false) }}
User-Agent: *
Allow: /
Host: {{ get_url(path="/", trailing_slash=false) }}
{%- else %}
User-Agent: *
Disallow: /
{%- endif %}