mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-04 03:08:00 +09:00
Add solitude
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
- var menu = theme.nav.menu
|
||||
|
||||
if menu
|
||||
.menus_items
|
||||
each value, label in menu
|
||||
.menus_item
|
||||
if typeof value !== 'object'
|
||||
a.site-page(href=url_for(value))
|
||||
span= label
|
||||
else
|
||||
a.site-page(href="javascript:void(0);")
|
||||
span= label
|
||||
ul.menus_item_child
|
||||
each childValue, childLabel in value
|
||||
li
|
||||
- var array = childValue.split('||')
|
||||
a.site-page.child(href=url_for(trim(array[0])))
|
||||
if array[1]
|
||||
i.solitude(class=array[1])
|
||||
span= childLabel
|
||||
Reference in New Issue
Block a user