fix overflow tag
This commit is contained in:
parent
b62a237fbe
commit
6965ede705
@ -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;
|
||||
}
|
7
layouts/partials/tags.html
Normal file
7
layouts/partials/tags.html
Normal file
@ -0,0 +1,7 @@
|
||||
<ul class="tags-postlist">
|
||||
{{- with .GetTerms "tags" }}
|
||||
{{- range . -}}
|
||||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</ul>
|
Loading…
x
Reference in New Issue
Block a user