From 704066888a6dfa173d02a57f8af4ea79e4ca8d38 Mon Sep 17 00:00:00 2001 From: Colin-XKL Date: Wed, 12 Jan 2022 16:57:58 +0800 Subject: [PATCH] auto generate robots.txt --- config.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 5aa8801..18750bf 100644 --- a/config.toml +++ b/config.toml @@ -4,6 +4,7 @@ defaultContentLanguage = "zh-cn" defaultContentLanguageInSubdir = false theme = "hello-friend" paginate = 10 +enableRobotsTXT = true [markup.goldmark.renderer] unsafe = true #避免MarkDown内嵌的HTML被优化掉,尤其是Typora缩放过的图片 @@ -25,7 +26,7 @@ rssFullText = true [languages.en] title = "Colinx Blog" subtitle = "Colin's Blog" - keywords = "" + keywords = "Colin,Blog" copyright = "" menuMore = "Show more" writtenBy = "Written by"