{{ range $.Site.Params.Social }} {{ if and (isset $.Site.Data.social.social_icons .id) (isset . "url") }}
  • {{ partial "font-awesome.html" (dict "iconName" .id "custom" false) }}
  • {{ else if and (isset $.Site.Data.social.social_icons .id) (isset . "name") }} {{ $url := index $.Site.Data.social.social_icons .id }} {{ $ref := printf $url .name }}
  • {{ partial "font-awesome.html" (dict "iconName" .id "custom" false) }}
  • {{ else if (isset . "url") }}
  • {{ partial "font-awesome.html" (dict "iconName" .id "custom" true) }}
  • {{ end }} {{ end }} {{ $rssIcon := true }} {{ if isset .Site.Params "rssIcon" }} {{ $rssIcon = .Site.Params.rssIcon }} {{ end }} {{ if $rssIcon }} {{ with .Site.Home.OutputFormats.Get "rss" -}}
  • {{ partial "font-awesome.html" (dict "iconName" "rss" "custom" false) }}
  • {{ end -}} {{ end }}