mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
theme: fix social media tags indention #683
This commit is contained in:
parent
675f1f1781
commit
cc3c5a72ba
2 changed files with 3 additions and 2 deletions
|
@ -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" . }}
|
|
2
layouts/partials/social.html
Normal file
2
layouts/partials/social.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
{{- template "_internal/opengraph.html" . }}
|
||||||
|
{{- template "_internal/twitter_cards.html" . }}
|
Loading…
Reference in a new issue