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:
Diffstat (limited to 'Rules')
-rw-r--r--Rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/Rules b/Rules
index b7963761..5874435d 100644
--- a/Rules
+++ b/Rules
@@ -34,6 +34,12 @@ compile '/404.*' do
write '/404.html'
end
+compile '/archives.*' do
+ filter :erb
+ layout '/archives.*'
+ write '/archives/index.html'
+end
+
compile '/**/*.html' do
layout '/default.*'
end
@@ -115,6 +121,9 @@ compile '/**/*' do
end
end
+# Leave yaml files out
+ignore '/_data/*.yaml'
+
layout '/**/*', :erb
# Leave the favicon alone.