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

social-follow.html « partials « layouts - github.com/heyeshuang/hugo-theme-tokiwa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 73daa2b8cb152d11d28ff9d11344b26cdb55ae18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

{{ $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 }}
	{{ if not (eq $key "_merge") }}
	<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 }}
	{{ end }}
</div>