diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-26 03:19:32 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-04-26 03:19:32 +0300 |
commit | 7c96c71cce8165fb30862f0d8415a77742fa1f2d (patch) | |
tree | 5e04f0fc49847173d3560a705bd8e5df5c9eea44 | |
parent | 32d44afa40f59892f0d0e60cfad0a8f5541ac4e9 (diff) |
Add some temporary inline styles
We obviously still have a CSS cache somewhere that we have no control over ...
-rw-r--r-- | layouts/partials/tag-cloud.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/tag-cloud.html b/layouts/partials/tag-cloud.html index 71a22b3..1a86b5d 100644 --- a/layouts/partials/tag-cloud.html +++ b/layouts/partials/tag-cloud.html @@ -1,12 +1,12 @@ <div class="row"> - <div id="theme-tagcloud" class="col-sm-12"> + <div id="theme-tagcloud" class="col-sm-12" style="margin-bottom: 15px;"> {{ $tags := (index $.Site.Taxonomies "tags").ByCount }} {{ $v1 := where $tags "Count" ">=" 3 }} {{ $v2 := where $v1 "Term" "not in" (slice "hugo" "tags" "rss") }} {{ range $v2 }} {{ if .Term }} {{ $tagURL := printf "tags/%s" .Term | relURL }} - <a href="{{ $tagURL }}" class="btn btn-default" role="button">{{ .Term }} <span class="badge">({{ .Count }})</span></a> + <a href="{{ $tagURL }}" class="btn btn-default" role="button" style="text-transform: uppercase; font-size: 12px; padding-right: 5px; padding-left: 5px;" >{{ .Term }} <span class="badge">({{ .Count }})</span></a> {{ end }} {{ end }} </div> |