Enable robots.txt for indexing

This commit is contained in:
Moe Poi ~ 2020-09-20 12:28:28 +07:00
parent 86bdc9e3a9
commit 18e6baa3cd
2 changed files with 4 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1,3 @@
User-agent: *
Allow: /
Sitemap: /sitemap.xml