You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/07/26 12:46:52 UTC
[camel-website] branch master updated: chore: add robots.txt
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new 6c3b080 chore: add robots.txt
6c3b080 is described below
commit 6c3b08084f76ebd936a5f3a24e3eb5a7a9660b1c
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Fri Jul 26 14:46:48 2019 +0200
chore: add robots.txt
Ref CAMEL-13775
---
config.toml | 1 +
layouts/robots.txt | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/config.toml b/config.toml
index 88fbec5..bc61323 100644
--- a/config.toml
+++ b/config.toml
@@ -5,6 +5,7 @@ relativeURLs = true
disablePathToLower = true
staticDir = ["static", "documentation"]
disableKinds = ["taxonomy", "taxonomyTerm"]
+enableRobotsTXT = true
[[menu.main]]
name = "Home"
diff --git a/layouts/robots.txt b/layouts/robots.txt
new file mode 100644
index 0000000..d031045
--- /dev/null
+++ b/layouts/robots.txt
@@ -0,0 +1,7 @@
+User-agent: *
+
+Sitemap: {{.Site.BaseURL}}sitemap.xml
+Sitemap: {{.Site.BaseURL}}sitemap-camel-k.xml
+Sitemap: {{.Site.BaseURL}}sitemap-components.xml
+Sitemap: {{.Site.BaseURL}}sitemap-manual.xml
+