basic hugo setup
This commit is contained in:
parent
18aa3c815b
commit
8d504c8420
153 changed files with 7158 additions and 0 deletions
8
tfc/themes/ananke/layouts/robots.txt
Normal file
8
tfc/themes/ananke/layouts/robots.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
User-agent: *
|
||||
{{/* robotstxt.org - if ENV production variable is false robots will be disallowed. */ -}}
|
||||
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") -}}
|
||||
Allow: /
|
||||
Sitemap: {{ "/sitemap.xml" | absURL }}
|
||||
{{ else -}}
|
||||
Disallow: /
|
||||
{{ end -}}
|
Loading…
Add table
Add a link
Reference in a new issue