We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 532cfe1 commit fabcd22Copy full SHA for fabcd22
config.rb
@@ -11,7 +11,7 @@
11
# Methods defined in the helpers block are available in templates
12
helpers do
13
def get_page_priority(title)
14
- data.priority.index(title)
+ data.priority.index(title) || data.priority.length
15
end
16
17
def get_pages
0 commit comments