zola/docs/content/documentation/templates/robots.md
Greizgh fec58054b4 Inject config in robots.txt context
This allow to use base_url in robots.txt, to reference a sitemap for
example.
2018-10-02 08:15:26 +02:00

280 B

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

Gutenberg 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 the config and the default is what most site want:

User-agent: *