mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-15 19:36:20 +01:00
c2197b7411
* replace forkawesome and iconfont with simple icons * add more configs for social
11 lines
388 B
HTML
11 lines
388 B
HTML
{{- $href := "" -}}
|
|
{{- with .url -}}
|
|
{{- $href = . | relLangURL -}}
|
|
{{- else -}}
|
|
{{- $template := .template | default "%s" -}}
|
|
{{- with .prefix -}}
|
|
{{- $template = . | strings.TrimSuffix "/" | printf "%s/%%s" -}}
|
|
{{- end -}}
|
|
{{- $href = printf (string $template) .id -}}
|
|
{{- end -}}
|
|
{{- dict "href" $href "rel" "me" | merge . | partial "plugin/link.html" -}}
|