From a5bae6f10560451915403d4d2419c94586439eeb Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 21 Sep 2016 22:41:33 +0300 Subject: [PATCH] Enable generation of robots.txt See: https://gohugo.io/extras/robots-txt/ --- config.toml | 1 + public/robots.txt | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 public/robots.txt diff --git a/config.toml b/config.toml index bc7a0884..bb858c71 100644 --- a/config.toml +++ b/config.toml @@ -4,6 +4,7 @@ baseurl = "https://picturingjordan.com/" languageCode = "en-us" title = "Picturing Jordan" theme = "hugo-theme-bootstrap4-blog" +enableRobotsTXT = true [permalinks] post = "/:year/:month/:title/" diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 00000000..2c1c3402 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,3 @@ +Sitemap: https://picturingjordan.com/sitemap.xml + +User-agent: *