diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 8b42530..b8be4c9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -28,20 +28,5 @@ {{ $style := resources.Get "/scss/style.scss" | resources.ExecuteAsTemplate "/scss/style.scss" . | resources.ToCSS (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") | resources.Fingerprint "sha512" }} {{- partial "inject/head.html" . -}} - - {{ if .IsPage }} - - - - - - {{ range .Params.tags }} - - {{ end }} - - - - {{ else }} - - {{ end }} + {{- partial "head_meta_opengraph.html" . -}} diff --git a/layouts/partials/head_meta_opengraph.html b/layouts/partials/head_meta_opengraph.html new file mode 100644 index 0000000..b8bd1bb --- /dev/null +++ b/layouts/partials/head_meta_opengraph.html @@ -0,0 +1,27 @@ + +{{ if .IsPage }} + + + + + + {{ range .Params.tags }} + + {{ end }} + + + +{{ else }} + + + +{{ end }}