From 008ff55695fbed9b9ea337ec7eecd2c4f1569488 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 6 Feb 2022 21:04:20 +0300 Subject: [PATCH] site/layouts: use bubble buttons for elements I got rid of these when initially trying to group the elements for each module together under their clusters, but actually now there are less elements so we can keep this bubble style. A bonus is that we don't need to figure out how to delimit by comma in Hugo's Go templates (the last one is always tricky). --- site/layouts/partials/module-elements.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/layouts/partials/module-elements.html b/site/layouts/partials/module-elements.html index 77b48eaf..35dafbb5 100644 --- a/site/layouts/partials/module-elements.html +++ b/site/layouts/partials/module-elements.html @@ -14,7 +14,7 @@ {{/* Use range over a nested where. The way to read this is */}} {{/* from the inside out: terms, cluster, module. */}} {{ range where (where (where site.RegularPages "Type" "terms") "Params.cluster" "==" $cluster) "Params.module" "==" $module }} - {{ .Params.field }} + {{ .Params.field }} {{ end }}