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}