enable robots.txt by default
use CRLF in robots.txt
This commit is contained in:
parent
3b58a1a279
commit
dff69c5bd3
|
@ -1,6 +1,7 @@
|
||||||
title = "Flat theme"
|
title = "Flat theme"
|
||||||
theme = "hugo-theme-flat"
|
theme = "hugo-theme-flat"
|
||||||
themesDir = "../.."
|
themesDir = "../.."
|
||||||
|
enableRobotsTXT = true
|
||||||
hasCJKLanguage = true
|
hasCJKLanguage = true
|
||||||
paginate = 6
|
paginate = 6
|
||||||
baseURL = ""
|
baseURL = ""
|
||||||
|
|
|
@ -3,6 +3,6 @@ Allow: /posts/
|
||||||
Allow: /tags/
|
Allow: /tags/
|
||||||
Allow: /categories/
|
Allow: /categories/
|
||||||
Allow: /about/
|
Allow: /about/
|
||||||
Disallow: *
|
|
||||||
|
|
||||||
|
Disallow: *
|
||||||
Sitemap: {{ .Site.BaseURL }}sitemap.xml
|
Sitemap: {{ .Site.BaseURL }}sitemap.xml
|
Loading…
Reference in a new issue