mixin renderSocialIcon (iconClass, iconLabel, url)
  a(href= url, target="_blank").dtp-social-link
    span
      i(class=`fab ${iconClass}`)
    span.uk-margin-small-left= iconLabel

section.uk-section.uk-section-muted.uk-section-xsmall.dtp-site-footer
  .uk-container.uk-text-small.uk-text-center
    .uk-margin
      ul.uk-subnav.uk-flex-center
        if site.shingUrl
          li
            a(href= site.shingUrl, target="_blank").dtp-social-link
              span
                img(src="/img/social-icons/shing.png", style="width: auto; height: 1em;")
              span.uk-margin-small-left Shing

        if site.gabUrl
          li
            a(href= site.gabUrl, target="_blank").dtp-social-link
              span
                img(src="/img/icon/gab-g.svg", style="width: auto; height: 1em;")
              span.uk-margin-small-left Gab Social
        if site.gabtvUrl
          li
            a(href= site.gabtvUrl, target="_blank").dtp-social-link
              span
                img(src="/img/icon/gab-g.svg", style="width: auto; height: 1em;")
              span.uk-margin-small-left Gab TV

        if site.telegramUrl
          li
            +renderSocialIcon('fa-telegram', 'Telegram', site.telegramUrl)
        if site.twitterUrl
          li
            +renderSocialIcon('fa-twitter', 'Twitter', site.twitterUrl)
        if site.facebookUrl
          li
            +renderSocialIcon('fa-facebook', 'Facebook', site.facebookUrl)
        if site.instagramUrl
          li
            +renderSocialIcon('fa-instagram', 'Instagram', site.instagramUrl)

        if site.bitchuteUrl
          li
            a(href= site.bitchuteUrl, target="_blank").dtp-social-link
              span
                img(src="/img/social-icons/bitchute.svg", style="width: auto; height: 1em;")
              span.uk-margin-small-left BitChute
        if site.odyseeUrl
          li
            a(href= site.odyseeUrl, target="_blank").dtp-social-link
              span
                img(src="/img/social-icons/odysee.svg", style="width: auto; height: 1em;")
              span.uk-margin-small-left Odysee
        if site.rumbleUrl
          li
            a(href= site.odyseeUrl, target="_blank").dtp-social-link
              span
                img(src="/img/social-icons/rumble.svg", style="width: auto; height: 1em;")
              span.uk-margin-small-left Rumble
        if site.twitchUrl
          li
            +renderSocialIcon('fa-twitch', 'Twitch', site.twitchUrl)
        if site.youtubeUrl
          li
            +renderSocialIcon('fa-youtube', 'YouTube', site.youtubeUrl)
        if site.dliveUrl
          li
            a(href= site.dliveUrl, target="_blank").dtp-social-link
              span
                img(src="/img/social-icons/dlive.svg", style="width: auto; height: 1em;")
              span.uk-margin-small-left DLive
        if site.spreakerUrl
          li
            a(href= site.spreakerUrl, target="_blank").dtp-social-link
              span
                img(src="/img/social-icons/spreaker.svg", style="width: auto; height: 1em;")
              span.uk-margin-small-left Spreaker
        if site.discordUrl
          li
            a(href= site.discordUrl, target="_blank").dtp-social-link
              span
                img(src="/img/social-icons/discord.svg", style="width: auto; height: 1em;")
              span.uk-margin-small-left Discord

    div Copyright &copy; 2021 #[+renderSiteLink()]
    div All Rights Reserved