diff options
author | Maxim Tsoy <maks.tsoy@gmail.com> | 2019-05-07 14:37:49 +0300 |
---|---|---|
committer | Maxim Tsoy <maks.tsoy@gmail.com> | 2019-05-07 14:37:49 +0300 |
commit | 71bc58bb761d2d3574cb03924dc1acc268127ee0 (patch) | |
tree | f6b5456a81f952c7e27a26eeb5a21234311862f6 | |
parent | b21005dcc8fd8313bc7430ed46d5db8b0680e8b4 (diff) |
Keep tag badges inline
-rw-r--r-- | layouts/index.html | 1 | ||||
-rw-r--r-- | layouts/shortcodes/tag.html | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/layouts/index.html b/layouts/index.html index 84ce954..5e97491 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -38,7 +38,6 @@ {{ end }} {{ $experimentalPages := where .Pages "Section" "experimental" }} - {{ if $experimentalPages }} <div class="timeline-item experimental"> <div class="timeline-left"> diff --git a/layouts/shortcodes/tag.html b/layouts/shortcodes/tag.html index 3119603..5e02f8e 100644 --- a/layouts/shortcodes/tag.html +++ b/layouts/shortcodes/tag.html @@ -1,3 +1 @@ -{{ with .Get 0 }} - <span class="label label-rounded text-light text-capitalize tag-{{ . }}">{{ . }}</span> -{{ end }} +{{ with .Get 0 }}<span class="label label-rounded text-light text-capitalize tag-{{ . }}">{{ . }}</span>{{ end }} |