From eea1de9a717ea57bb228336f605bc39062049a1e Mon Sep 17 00:00:00 2001 From: Razon Yang Date: Fri, 22 Dec 2023 23:35:38 +0800 Subject: [PATCH] fix: remove the hb-main attributes (#574) --- hugo.toml | 3 --- .../hugopress/modules/hb-blog/attributes/hb-main.html | 5 ----- 2 files changed, 8 deletions(-) delete mode 100644 layouts/partials/hugopress/modules/hb-blog/attributes/hb-main.html diff --git a/hugo.toml b/hugo.toml index 20785f27..80af8f21 100644 --- a/hugo.toml +++ b/hugo.toml @@ -19,9 +19,6 @@ path = "github.com/hugomods/icons/vendors/bootstrap" [[module.imports]] path = "github.com/hugomods/images" -[params.hugopress.modules.hb-blog.attributes.hb-main] -cacheable = true - [params.hb.terms] paginate = 12 diff --git a/layouts/partials/hugopress/modules/hb-blog/attributes/hb-main.html b/layouts/partials/hugopress/modules/hb-blog/attributes/hb-main.html deleted file mode 100644 index dfc4e83a..00000000 --- a/layouts/partials/hugopress/modules/hb-blog/attributes/hb-main.html +++ /dev/null @@ -1,5 +0,0 @@ -{{- $class := "hb-main container" }} -{{- if site.Params.hb.blog.full_width }} - {{- $class = "hb-main container-fluid" }} -{{- end }} -{{- return dict "class" $class }}