mirror of
https://github.com/getzola/zola
synced 2024-12-14 14:22:28 +00:00
16 lines
329 B
Markdown
16 lines
329 B
Markdown
+++
|
|
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") */}}
|
|
```
|