From 17e365faed123f9d8a4678b83e4b94f664d907d9 Mon Sep 17 00:00:00 2001 From: paspo Date: Mon, 15 Jul 2024 18:16:59 +0000 Subject: [PATCH] fix overflow tag (#119) fixes #105 Reviewed-on: https://git.libreschool.org/BgLUG/bglug.it/pulls/119 Co-authored-by: paspo Co-committed-by: paspo --- assets/sass/custom.scss | 12 ++++++++++++ layouts/partials/tags.html | 7 +++++++ 2 files changed, 19 insertions(+) create mode 100644 layouts/partials/tags.html diff --git a/assets/sass/custom.scss b/assets/sass/custom.scss index 24dbde0..55600d2 100644 --- a/assets/sass/custom.scss +++ b/assets/sass/custom.scss @@ -27,3 +27,15 @@ display: inline-block; font-size: 1rem; } + +.tags-postlist { + display: block; + padding: 0; + line-height: 1.3rem; +} + +.tags-postlist li { + display: inline-block; + padding-right: 1em; + font-size: 1rem; +} \ No newline at end of file diff --git a/layouts/partials/tags.html b/layouts/partials/tags.html new file mode 100644 index 0000000..217b9a1 --- /dev/null +++ b/layouts/partials/tags.html @@ -0,0 +1,7 @@ +
    + {{- with .GetTerms "tags" }} + {{- range . -}} +
  • {{ .LinkTitle }}
  • + {{- end }} + {{- end }} +