zola/docs/content/documentation/templates/robots.md
Rostislav 679af5b8c8 add Allow: / to default robots.txt template (#1258)
Also update the documentation about it.
2020-12-14 20:43:32 +01:00

325 B

+++ title = "Robots.txt" weight = 70 +++

Zola will look for a robots.txt file in the templates directory or use the built-in one.

Robots.txt is the simplest of all templates: it only gets config and the default is what most sites want:

User-agent: *
Allow: /
Sitemap: {{ get_url(path="sitemap.xml") }}