mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-23 20:40:36 +03:00
Switch to Hugo.
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# www.robotstxt.org
|
||||
|
||||
{{ if (eq (getenv "HUGO_ENV") "production") -}}
|
||||
# Allow crawling of all content
|
||||
{{- end }}
|
||||
User-agent: *
|
||||
Disallow:{{ if (ne (getenv "HUGO_ENV") "production") }} /{{ end }}
|
||||
Sitemap: {{ .Site.BaseURL }}/sitemap.xml
|
||||
Reference in New Issue
Block a user