diff --git a/.prettierignore b/.prettierignore index 694b1bf2..78283304 100644 --- a/.prettierignore +++ b/.prettierignore @@ -33,7 +33,6 @@ layouts/partials/article-link/card.html layouts/partials/article-link/simple.html layouts/partials/header/basic.html layouts/partials/hero/background.html -layouts/partials/head.html layouts/shortcodes/screenshot.html layouts/shortcodes/figure.html diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ca9e70b3..b71905da 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -149,7 +149,7 @@ {{ if templates.Exists "partials/extend-head.html" }} {{ partialCached "extend-head.html" .Site }} {{ end }} - {{/* Uncached extend head - e.g. {{ with .Page.HasShortcode "gallery" }} do something {{ end }} */}} + {{/* Uncached extend head - Example: https://gohugo.io/methods/page/hasshortcode/ */}} {{ if templates.Exists "partials/extend-head-uncached.html" }} {{ partial "extend-head-uncached.html" . }} {{ end }}