<footer>
  <div class="footer-social">
    {{ range hugo.Data.contact }}
    {{ $eu := index . "email_user" }}
    {{ $ed := index . "email_domain" }}
    {{ if $eu }}
    <a class="footer-icon" data-eu="{{ $eu }}" data-ed="{{ $ed }}" role="link" tabindex="0" title="{{ .label }}">
      <i class="{{ .icon }}"></i>
    </a>
    {{ else }}
    <a href="{{ .href }}" class="footer-icon"{{ if .external }} target="_blank" rel="noopener"{{ end }} title="{{ .label }}">
      <i class="{{ .icon }}"></i>
    </a>
    {{ end }}
    {{ end }}
  </div>

  <div class="footer-top">{{ i18n "footer1" | safeHTML }}</div>
  {{ with i18n "footer2" }}<div class="footer-top">{{ . | safeHTML }}</div>{{ end }}

  <div class="footer-copy">&copy; {{ now.Year }} {{ .Site.Params.name }}</div>
</footer>
