diff --git a/layouts/partials/blocks/templates/pages.html b/layouts/partials/blocks/templates/pages.html index 3492ede4c257b1c3bee634cc425ad9603802b500..e749a50fe1f1c82f90c5d371c163d081a4358a9f 100644 --- a/layouts/partials/blocks/templates/pages.html +++ b/layouts/partials/blocks/templates/pages.html @@ -37,8 +37,7 @@ {{ $title = .Title }} {{ end }} {{ if .Params.bodyclass }} - {{- $page_class = partial "GetBodyclass" . }} - {{- $page_class = printf "block-%s" $page_class }} + {{- $page_class = printf "block-page-%s" .Params.bodyclass }} {{ end }} {{ if site.Params.pages.index.truncate_description }} {{- $main_description = partial "GetTruncateContent" ( dict