fix overflow tag #119

Merged
paspo merged 1 commits from paspo/bglug.it:fix-tag-show into main 2024-07-15 18:17:02 +00:00
2 changed files with 19 additions and 0 deletions

View File

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

View File

@ -0,0 +1,7 @@
<ul class="tags-postlist">
{{- with .GetTerms "tags" }}
{{- range . -}}
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
{{- end }}
{{- end }}
</ul>