switch back to LoveIt, other theme is deprectated

This commit is contained in:
Christoph Cullmann 2022-08-14 19:01:21 +02:00
parent 260b6803e7
commit 51fb029ca2
4260 changed files with 49552 additions and 87082 deletions

View file

@ -0,0 +1,13 @@
{{- with .Class -}}
<i class="{{ . }}" aria-hidden="true"></i>
{{- else -}}
{{- $src := .Src -}}
{{- with .Simpleicons -}}
{{- $prefix := $.Prefix | default "lib/simple-icons/icons" | strings.TrimSuffix "/" -}}
{{- $src = printf "%v/%v.svg" $prefix . -}}
{{- end -}}
{{- if (urls.Parse $src).Host | not -}}
{{- $src = (resources.Get $src | minify).RelPermalink -}}
{{- end -}}
<i data-svg-src="{{ $src }}" aria-hidden="true"></i>
{{- end -}}