Welcome to mirror list, hosted at ThFree Co, Russian Federation.

social-follow.html « partials « layouts - github.com/budparr/gohugo-theme-ananke.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e94015bd7e588a42446f0bc46e497294a66e09a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{{ $socials := partialCached "func/socials/Get" "socials/Get" }}
<div class="ananke-socials">
  {{ range $socials }}
    <a href="{{ .url }}" target="_blank" class="{{ .name }} ananke-social-link link-transition stackoverflow link dib z-999 pt3 pt0-l mr1" title="{{ .label }} link" rel="noopener" aria-label="follow on {{ .label }}——Opens in a new window">
      {{ with .icon }}
        <span class="icon">{{ . }}</span>
      {{ else }}
        {{ .label }}
      {{ end }}
      {{- partial "new-window-icon.html" . -}}
    </a>
  {{ end }}
</div>