diff options
author | bickhaus <bickhaus@users.noreply.github.com> | 2018-03-07 23:40:05 +0300 |
---|---|---|
committer | Gyorgy Orban <o.gyorgy@gmail.com> | 2018-08-23 22:01:27 +0300 |
commit | c012e095091ac8212c792b4d6f23c5570d02a431 (patch) | |
tree | 03aa2bfb9542ae52ae40f2542fc9333cad7d912f | |
parent | 332a3ce551090590b7bd9844ee1ba07e93326e31 (diff) |
added robots.txt
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rw-r--r-- | layouts/robots.txt | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index cf56bbb..6c248eb 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -5,6 +5,7 @@ languageCode = "en-US" canonifyurls = true paginate = 3 theme = "hugo-dusk" +enableRobotsTXT = true googleAnalytics = "" disqusShortname = "" diff --git a/layouts/robots.txt b/layouts/robots.txt new file mode 100644 index 0000000..4c807e2 --- /dev/null +++ b/layouts/robots.txt @@ -0,0 +1,3 @@ +User-agent: * + +Sitemap: {{ .Site.BaseURL }}/sitemap.xml |