blob: 5da3176c19bbe8ccfa8ba6c597d8a0990ebbfb77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{{ $count := len .Site.Social}}
<div class="flex flex-wrap-reverse md:justify-end content-end md:content-start justify-start items-start {{if gt $count 4}}md:flex-col{{end}} max-h-16">
{{ range $key,$value:=.Site.Social }}
<a href='{{$value}}' target="_blank" class="{{- $key}} icon pl-1 text-eucalyptus-400 hover:text-java-400" title="{{- $key}} link" rel="noopener"
aria-label="follow on {{$key}}——Opens in a new window">
{{/* <object type="image/svg+xml" data='{{ relURL (printf "%s%s%s" "svg/" $key ".svg") }}' class="w-12 h-12
text-gray-200"></object> */}}
<div class="fill-current h-8 w-8">
{{ partial (printf "%s%s%s" "svg/" $key "-line.svg") . }}
</div>
</a>
{{ end }}
</div>
|