Fix alignment of tags
This commit is contained in:
parent
47a5aa0b56
commit
8f80a63f5c
2 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{ if .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
<div class="align-center">
|
<div class="align-center" id="tags">
|
||||||
{{ range .Params.tags }}
|
{{ range .Params.tags }}
|
||||||
<h5><a href="/tags/{{ urlize . }}" class="badge badge-dark">
|
<h5><a href="/tags/{{ urlize . }}" class="badge badge-dark">
|
||||||
<i class="fa fa-tag"></i> {{ . }}
|
<i class="fa fa-tag"></i> {{ . }}
|
||||||
|
|
|
@ -173,3 +173,8 @@ nav {
|
||||||
.index-list {
|
.index-list {
|
||||||
margin-top: 4em;
|
margin-top: 4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#tags > * {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 0 2px;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue