mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-09 01:32:45 +00:00
18 lines
508 B
HTML
18 lines
508 B
HTML
{{/*
|
|
|
|
*/}}
|
|
{{ $socials := slice }}
|
|
{{ with partial "func/socials/GetProjectServices" "GetProjectServices" }}
|
|
{{ range . }}
|
|
{{ $service := . }}
|
|
{{ with partialCached "func/socials/GetServiceData" .name .name }}
|
|
{{ $service = merge . $service }}
|
|
{{ end }}
|
|
{{ with partialCached "func/socials/GetServiceIcon" .name .name }}
|
|
{{ $service = $service | merge (dict "icon" . ) }}
|
|
{{ end }}
|
|
{{ $socials = $socials | append $service }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ return $socials }} |