X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Fhead-addition.html;h=d975c51ed810a265fb3d52b0161d3073ce083e88;hb=50cea8caaa0e23e7a03209ba76b5138d4597460d;hp=fdfaef97aa6be1768cd60a080447b9fe92beb7f3;hpb=1d84b628b12723791f2a7dcb997b56953e3a7e8c;p=theme-danix.xyz.git diff --git a/layouts/partials/head-addition.html b/layouts/partials/head-addition.html index fdfaef9..d975c51 100644 --- a/layouts/partials/head-addition.html +++ b/layouts/partials/head-addition.html @@ -1,14 +1,16 @@ {{/* * 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 }}