theme: fix social media tags indention #683

This commit is contained in:
Sören Weber 2023-10-10 23:19:21 +02:00
parent 675f1f1781
commit cc3c5a72ba
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 3 additions and 2 deletions

View file

@ -17,5 +17,4 @@
{{- with .Site.Params.author }} {{- with .Site.Params.author }}
<meta name="author" content="{{ . }}"> <meta name="author" content="{{ . }}">
{{- end }} {{- end }}
{{- template "_internal/opengraph.html" . }} {{- replace (trim (partial "social.html" .) " \n\r") "<meta " " <meta "| safeHTML }}
{{- template "_internal/twitter_cards.html" . }}

View file

@ -0,0 +1,2 @@
{{- template "_internal/opengraph.html" . }}
{{- template "_internal/twitter_cards.html" . }}