diff options
| author | Jieiku | 2023-05-22 22:37:44 -0700 |
|---|---|---|
| committer | Jieiku | 2023-05-22 22:37:44 -0700 |
| commit | 6dcec618d0ff0a2270f787f62267a0622275c69d (patch) | |
| tree | f0dd674fe43331db55ddae38808749de0323f030 /templates/robots.txt | |
| parent | 71d977d49afbf93e0c736815e36d59664991fa18 (diff) | |
| download | abridge-6dcec618d0ff0a2270f787f62267a0622275c69d.tar.gz abridge-6dcec618d0ff0a2270f787f62267a0622275c69d.tar.bz2 abridge-6dcec618d0ff0a2270f787f62267a0622275c69d.zip | |
Load Tinysearch/Stork On Demand
Diffstat (limited to 'templates/robots.txt')
| -rw-r--r-- | templates/robots.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/robots.txt b/templates/robots.txt index 766e67f..09aba30 100644 --- a/templates/robots.txt +++ b/templates/robots.txt @@ -1,4 +1,9 @@ +{%- if config.extra.prod %} Sitemap: {{ get_url(path="sitemap.xml", trailing_slash=false) }} User-Agent: * Allow: / Host: {{ get_url(path="/", trailing_slash=false) }} +{%- else %} +User-Agent: * +Disallow: / +{%- endif %} |
