From b0cc5bfcaddf733b489bbda4c3ab08da1a005a85 Mon Sep 17 00:00:00 2001 From: Michel Racic Date: Sat, 11 Mar 2017 08:15:27 +0100 Subject: [PATCH] Seo (#7) * Fixed installation commands Removed extra line * added robots.txt template with sitemap entry for crawler and disabled RSS generation as it's not useful for this template --- exampleSite/config.toml | 2 ++ layouts/robots.txt | 1 + 2 files changed, 3 insertions(+) create mode 100644 layouts/robots.txt diff --git a/exampleSite/config.toml b/exampleSite/config.toml index c873a5b..248167b 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -3,6 +3,8 @@ title = "Dimension" theme = "dimension" languageCode = "en-us" defaultContentLanguage = "en" +enableRobotsTXT = true +disableRSS = true [params] title = "Dimension" diff --git a/layouts/robots.txt b/layouts/robots.txt new file mode 100644 index 0000000..68c0ea7 --- /dev/null +++ b/layouts/robots.txt @@ -0,0 +1 @@ +Sitemap: {{ .Site.BaseURL }}sitemap.xml