hugo

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit e15eb1e235280ab614405e89b223ac91a72b154a
parent a56d5dafb2f5dd0ac2d77e60e4194999e82050aa
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon,  4 Jul 2022 10:14:37 -0400

Merge pull request #4 from esdnm/master

use CSS to insert a middle-dot between tags in taglist
Diffstat:
Mlayouts/partials/footer.html | 1-
Mstatic/style.css | 4++++
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html @@ -6,7 +6,6 @@ {{- range $k, $v := .Params.tags -}} {{- $url := printf "tags/%s" (. | urlize | lower) -}} <a id="tag_{{ . | lower }}" href="{{ $url | absURL }}">{{ . | title }}</a> - {{- if lt $k (sub $tagsLen 1) }}&middot;{{ end -}} {{- end -}} </div> {{- end -}} diff --git a/static/style.css b/static/style.css @@ -43,6 +43,10 @@ nav ul, footer ul, #taglist { margin: .5em; } +.taglist a:not(:last-child)::after { + content: " ยท "; +} + @media (min-width: 1200px) { nav {