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-11-07 17:00:09 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-11-07 17:00:09 +0300
commitb84d6e1ff3d1c5e35ffeda8d95ed98ac64865aa0 (patch)
tree6ca7c171b86aec51fc181a6bdbdf39c198918443 /Rules
parent3fe5ab8a54439a554f4df54ab154ec582f735144 (diff)
Fix redirect rule in Rules
Diffstat (limited to 'Rules')
-rw-r--r--Rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules b/Rules
index 854e27b1..55a330e7 100644
--- a/Rules
+++ b/Rules
@@ -53,7 +53,7 @@ compile '/**/*.html' do
end
compile '/**/*.md' do
- if item[:redirect].nil?
+ if item[:redirect_to].nil?
# If 'toc' is absent in a file's yaml frontmatter, show ToC.
# Set to 'toc: false' to disable it.