{{ partial "social_media.html" . }}
{{- $CopyrightSign := (printf `%s` (partial "icon.html" "copyright")) -}}
{{- $SinceYear := .Site.Params.footer.since -}}
{{- $CurrentYear := now.Format "2006" -}}
{{- $Copyright := .Site.Copyright -}}
{{ if and (.Site.Params.footer.since)
(ne .Site.Params.footer.since (int (now.Format "2006")))
}}
{{ T "footer.copyright_with_since" (dict
"CopyrightSign" $CopyrightSign
"SinceYear" $SinceYear
"CurrentYear" $CurrentYear
"Copyright" $Copyright
) | safeHTML }}
{{ else }}
{{ T "footer.copyright_wo_since" (dict
"CopyrightSign" $CopyrightSign
"CurrentYear" $CurrentYear
"Copyright" $Copyright
) | safeHTML }}
{{ end }}
{{ if .Site.Params.footer.poweredby }}
{{- $Generator := `
Hugo` -}}
{{- $Theme := `
Tailwind` -}}
{{- $Heart := `
♥` }}
{{ T "footer.powered_by" (dict "Generator" $Generator "Theme" $Theme "Heart" $Heart ) | safeHTML }}
{{ end }}