X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Fhead-addition.html;h=d2a43ec562f03e32f649680a8ba6e48c2808cfef;hb=f945c30bd5cb057b509c5d5cfae21f792e7fdc8f;hp=b298b5ef80520269763dd5e5e1b112d56460c5fd;hpb=e28a215c266b18d0a3eb7156345f8cdbab3a883b;p=theme-danix.xyz.git
diff --git a/layouts/partials/head-addition.html b/layouts/partials/head-addition.html
index b298b5e..d2a43ec 100644
--- a/layouts/partials/head-addition.html
+++ b/layouts/partials/head-addition.html
@@ -1,10 +1,15 @@
{{/*
* Add the featured image to the header if it's present in the Front Matter
*/}}
-{{ if isset .Params "featured_image" }}
-
+{{ if .IsPage }}
+ {{ if isset .Params "featured_image" }}
+
+ {{ end }}
{{ end }}