X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Fhead-addition.html;h=d2a43ec562f03e32f649680a8ba6e48c2808cfef;hb=26ee5f4dbc5cde34e98565bae169e995ecc13781;hp=fdfaef97aa6be1768cd60a080447b9fe92beb7f3;hpb=92f65567cbc73296fcec0368ead5a635e2805a59;p=theme-danix.xyz.git diff --git a/layouts/partials/head-addition.html b/layouts/partials/head-addition.html index fdfaef9..d2a43ec 100644 --- a/layouts/partials/head-addition.html +++ b/layouts/partials/head-addition.html @@ -1,14 +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 }}