fix overflow tag #119
@ -27,3 +27,15 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 1rem;
|
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