diff --git a/templates/custom-navbar.yml.epp b/templates/custom-navbar.yml.epp index 247050f..42574b6 100644 --- a/templates/custom-navbar.yml.epp +++ b/templates/custom-navbar.yml.epp @@ -13,11 +13,19 @@ nav_bar: - title: <%= $menu %> links: <% $contents.each |$item| { -%> +<% if $item[title] { -%> - title: <%= $item[title] %> icon: <%= $item[icon] %> url: <%= $item[url] %> new_tab: true <% } -%> +<% elseif $item[group] { -%> + - group: "<%= $item[group] %>" +<% } -%> +<% else { -%> + - "<%= $item %>" +<% } -%> +<% } -%> <% } -%> - my interactive sessions