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

15 lines
280 B
Markdown

+++
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:
```jinja2
User-agent: *
```