Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Rules
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-10-17 06:17:21 +0300
committerConnor Shea <connor.james.shea@gmail.com>2016-10-17 06:17:21 +0300
commit1c1bb539f77794ca15c02afdf824b7bf5c0e992a (patch)
tree3a3718ec32f37a9f77b7e4b359037a8bb2df702c /Rules
parentb97bfb9d42fc40b6102c1fbb5299da633b385a61 (diff)
Add Sitemap for search engine indexing.
Diffstat (limited to 'Rules')
-rw-r--r--Rules10
1 files changed, 10 insertions, 0 deletions
diff --git a/Rules b/Rules
index 103c1db2..d1f56f21 100644
--- a/Rules
+++ b/Rules
@@ -26,6 +26,16 @@ compile '/index.*' do
write '/index.html'
end
+compile '/sitemap.*' do
+ filter :erb
+ write '/sitemap.xml'
+end
+
+compile '/robots.*' do
+ filter :erb
+ write '/robots.txt'
+end
+
route '/**/*.scss' do
item.identifier.without_ext + '.css'
end