From 6bfc2b3cce4d683ae68b9174903f95d7ec102469 Mon Sep 17 00:00:00 2001 From: Dekker500 Date: Sat, 29 Apr 2023 07:29:31 -0400 Subject: [PATCH] Improve flow with smaller displays As box shrinks, tags get clipped. Containing within a span improves their flow, preventing clipping. --- layouts/partials/posts-template.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/posts-template.html b/layouts/partials/posts-template.html index aee497c..7a55ce3 100644 --- a/layouts/partials/posts-template.html +++ b/layouts/partials/posts-template.html @@ -25,11 +25,13 @@
Tags: + {{ range $elem_index, $elem_val := (.GetTerms "tags") }} {{- if gt $elem_index 0 }}, {{ end -}} {{ .LinkTitle }} {{- end -}} +
@@ -58,4 +60,4 @@ {{ end }}
- \ No newline at end of file +