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:
authorAchilleas Pipinellis <axil@gitlab.com>2018-10-24 11:59:40 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-10-24 12:04:57 +0300
commit1dbf91bec026da1f56f8c350ea83d66a510af790 (patch)
tree1410388287a7ebf8f8f098bbc9545ae85bef2571 /Rules
parent9e2c92296c3aaef571647a3c1f7db0c85bd92963 (diff)
Move archives content to an index.html file
This fixes the issue when on the /archives page. The dropdown login is that it takes the Nanoc identifier (file path under content/) and in the archives case it was different than the created file (set in Rules). With this change, the identifier and the ending result are the same, thus the dropdown link no longer 404.
Diffstat (limited to 'Rules')
-rw-r--r--Rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules b/Rules
index a8a9c9fb..3f247bad 100644
--- a/Rules
+++ b/Rules
@@ -42,7 +42,7 @@ compile '/404.*' do
write '/404.html'
end
-compile '/archives.*' do
+compile '/archives/index.*' do
filter :erb
layout '/archives.*'
write '/archives/index.html'