diff --git a/hugo.toml b/hugo.toml index 32db7251..cf871be4 100644 --- a/hugo.toml +++ b/hugo.toml @@ -19,14 +19,17 @@ path = "github.com/hugomods/icons/vendors/bootstrap" [[module.imports]] path = "github.com/hugomods/images" +[[module.imports]] +path = "github.com/hugomods/masonry-js" + [params.hb.terms] paginate = 12 profile = true profile_metrics = true -list_style = "" # available options: minimalist. +list_style = "" # available options: minimalist, cascade. [params.hb.blog] -list_style = "" # available options: minimalist. +list_style = "" # available options: minimalist, cascade. full_width = false paginate = 12 post_date_format = ':date_long' diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 29918bec..2ba3b5d8 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -11,7 +11,8 @@ {{- if default true site.Params.hb.terms.profile }} {{ partialCached "hb/modules/blog/term/profile" . . }} {{- end }} - {{- if eq site.Params.hb.terms.list_style "minimalist" }} + {{- $listStyle := site.Params.hb.terms.list_style }} + {{- if eq $listStyle "minimalist" }}