custom navbar

This commit is contained in:
2025-08-13 15:46:38 +08:00
parent fe6bb1da09
commit 03c979666f
7 changed files with 268 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ if theme.menu
.menus_items
each value, label in theme.menu
if typeof value !== 'object'
.menus_item
.icat_menus_item
- const [link, icon] = value.split('||').map(part => trim(part))
a.site-page(href=url_for(link))
if icon