1
Fork 0

Fix alignment of tags

This commit is contained in:
Jake Howard 2017-09-19 13:33:04 +01:00
parent 47a5aa0b56
commit 8f80a63f5c
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 6 additions and 1 deletions

View file

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

View file

@ -173,3 +173,8 @@ nav {
.index-list { .index-list {
margin-top: 4em; margin-top: 4em;
} }
#tags > * {
display: inline-block;
padding: 0 2px;
}