Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jsnjack/hugo-changelog-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Tsoy <maks.tsoy@gmail.com>2019-05-07 14:37:49 +0300
committerMaxim Tsoy <maks.tsoy@gmail.com>2019-05-07 14:37:49 +0300
commit71bc58bb761d2d3574cb03924dc1acc268127ee0 (patch)
treef6b5456a81f952c7e27a26eeb5a21234311862f6
parentb21005dcc8fd8313bc7430ed46d5db8b0680e8b4 (diff)
Keep tag badges inline
-rw-r--r--layouts/index.html1
-rw-r--r--layouts/shortcodes/tag.html4
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 }}