mirror of
https://gitlab.com/moepoi-site/moepoi-blog.git
synced 2024-11-21 22:56:35 +01:00
Enable robots.txt for indexing
This commit is contained in:
parent
86bdc9e3a9
commit
18e6baa3cd
2 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
baseURL = "https://blog.moe.team/"
|
baseURL = "https://blog.moe.team/"
|
||||||
# relativeURLs = true
|
# relativeURLs = true
|
||||||
|
enableRobotsTXT = true
|
||||||
# [en, zh-cn, fr, ...] determines default content language
|
# [en, zh-cn, fr, ...] determines default content language
|
||||||
defaultContentLanguage = "en"
|
defaultContentLanguage = "en"
|
||||||
# language code
|
# language code
|
||||||
|
|
3
layouts/robots.txt
Normal file
3
layouts/robots.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
User-agent: *
|
||||||
|
Allow: /
|
||||||
|
Sitemap: /sitemap.xml
|
Loading…
Reference in a new issue