diff --git a/layouts/partials/essentials/head.html b/layouts/partials/essentials/head.html index a2fcfcc..dbb90e1 100644 --- a/layouts/partials/essentials/head.html +++ b/layouts/partials/essentials/head.html @@ -21,6 +21,12 @@ {{/* Favicon */}} +{{/* Canonical URL. The pages of the paginated news list all share one + .Permalink, so that list is left without a canonical link. */}} +{{ if not (and .IsSection (eq .Section "news")) }} + +{{ end }} + {{/* Styles */}} {{ $plugin := slice }} {{ $plugin := $plugin | append (resources.Get "scss/plugins.scss" | resources.ExecuteAsTemplate "plugins.scss" . | toCSS) }}