diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/config/_default/hugo.yaml | 2 | ||||
-rw-r--r-- | www/layouts/robots.txt | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/www/config/_default/hugo.yaml b/www/config/_default/hugo.yaml index d66ef30..4ade102 100644 --- a/www/config/_default/hugo.yaml +++ b/www/config/_default/hugo.yaml @@ -2,6 +2,8 @@ baseURL: "https://crupest.life/" title: "crupest's life" copyright: "CC BY-NC 4.0" +enableRobotsTXT: true + languageCode: "en" defaultContentLanguage: "en" hasCJKLanguage: true diff --git a/www/layouts/robots.txt b/www/layouts/robots.txt new file mode 100644 index 0000000..962c62a --- /dev/null +++ b/www/layouts/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Disallow: /git/*/snapshot/* +Disallow: /git/*/blame/* +Allow: / |