diff options
Diffstat (limited to 'content/templates/robots.md')
-rw-r--r-- | content/templates/robots.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/content/templates/robots.md b/content/templates/robots.md new file mode 100644 index 0000000..40a1089 --- /dev/null +++ b/content/templates/robots.md @@ -0,0 +1,16 @@ ++++ +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: + +```jinja2 +User-agent: * +Allow: / +Sitemap: {{/* get_url(path="sitemap.xml") */}} +``` |