Skip to content

Commit fabcd22

Browse files
committed
Update to Leo v1.8.1
1 parent 532cfe1 commit fabcd22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Methods defined in the helpers block are available in templates
1212
helpers do
1313
def get_page_priority(title)
14-
data.priority.index(title)
14+
data.priority.index(title) || data.priority.length
1515
end
1616

1717
def get_pages

0 commit comments

Comments
 (0)