diff --git a/layouts/partials/head/preload.html b/layouts/partials/head/preload.html index 8b0b6178..71faf752 100644 --- a/layouts/partials/head/preload.html +++ b/layouts/partials/head/preload.html @@ -1,6 +1,6 @@ {{ if eq hugo.Environment "production" }} - {{ if and .IsPage (eq .Type "notes") }} + {{ if and .IsPage (and (eq .Type "notes") (ne .Params.comments false)) }}