Browse Source

render SiteLink entries in off-canvas when present

pull/24/head
Rob Colbert 1 year ago
parent
commit
18e93adf4e
  1. 6
      app/views/components/off-canvas.pug

6
app/views/components/off-canvas.pug

@ -92,6 +92,12 @@ mixin renderMenuItem (iconClass, label)
i.fas.fa-sign-out-alt
.uk-width-expand Logout
if Array.isArray(links) && (links.length > 0)
li.uk-nav-header Site Links
each link in links
li
a(href= link.url)= link.label
li.uk-nav-header Legal
li

Loading…
Cancel
Save