You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
451 B
14 lines
451 B
mixin renderSiteLink (link)
|
|
if link
|
|
a(href= link.url, target= link.target)
|
|
div(uk-grid).uk-grid-collapse.uk-flex-middle
|
|
.app-menu-icon
|
|
img(
|
|
src= link.iconUrl,
|
|
style="width: 16px; height: auto;",
|
|
onerror=`this.src="/img/icon/${site.domainKey}/icon-16x16.png";`,
|
|
)
|
|
.uk-width-expand= link.label
|
|
else
|
|
a(href="/").uk-link-reset
|
|
span.brand-emphasis #{site.name} |