{{ $currentPage := . }} {{ $icons := .Site.Params.iconOrder | default (slice "Twitter" "GitHub" "Email" "Mastodon" "Facebook" "GitLab" "Instagram" "LinkedIn" "YouTube") }}
{{ range $icons }} {{ $icon := anchorize . }} {{ if isset $currentPage.Site.Params $icon }} {{ end }} {{ end }}