Merge pull request #4 from esdnm/master

use CSS to insert a middle-dot between tags in taglist
This commit is contained in:
Luke Smith
2022-07-04 10:14:37 -04:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -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 -}}

View File

@@ -43,6 +43,10 @@ nav ul, footer ul, #taglist {
margin: .5em;
}
.taglist a:not(:last-child)::after {
content: " · ";
}
@media (min-width: 1200px) {
nav {