diff options
| -rw-r--r-- | content/robots.txt/contents.lr | 5 | ||||
| -rw-r--r-- | content/sitemap.xml/contents.lr | 4 | ||||
| -rw-r--r-- | templates/robots.txt | 4 |
3 files changed, 11 insertions, 2 deletions
diff --git a/content/robots.txt/contents.lr b/content/robots.txt/contents.lr new file mode 100644 index 0000000..c897aa9 --- /dev/null +++ b/content/robots.txt/contents.lr @@ -0,0 +1,5 @@ +_model: none +--- +_template: robots.txt +--- +_discoverable: no diff --git a/content/sitemap.xml/contents.lr b/content/sitemap.xml/contents.lr index e89ddb7..ba01b63 100644 --- a/content/sitemap.xml/contents.lr +++ b/content/sitemap.xml/contents.lr @@ -1,5 +1,5 @@ -_template: sitemap.xml ---- _model: none --- +_template: sitemap.xml +--- _discoverable: no diff --git a/templates/robots.txt b/templates/robots.txt new file mode 100644 index 0000000..7dd5675 --- /dev/null +++ b/templates/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: {{ '/sitemap.xml' |url(absolute=True, external=True) }} |
