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

github.com/calintat/minimal.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIliricon (cvoelcker) <claas@voelcker.net>2018-01-10 02:31:07 +0300
committerCalin Tataru <calintat@gmail.com>2018-01-10 02:31:07 +0300
commitb7bc259ba6be22b642bcc6103aee224dad3c8c77 (patch)
treea303761c1b2b6880e708a44dd476f21cfb04f0ce
parent1e1ab06d57c5790060e319ebbc805234a3d5f086 (diff)
Fixes an underline whitespace issue (#50)
When hovering over a tag link, the underline streched into the adjacent whitespace
-rw-r--r--layouts/partials/list-item.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/partials/list-item.html b/layouts/partials/list-item.html
index 7663b40..bda8065 100644
--- a/layouts/partials/list-item.html
+++ b/layouts/partials/list-item.html
@@ -19,9 +19,7 @@
<h4><a href="{{ .Scratch.Get "link" }}">{{ .Title }}</a></h4>
<h5>{{ $.Scratch.Get "subtitle" }}</h5>
{{ range .Params.tags }}
- <a href="{{ $.Site.BaseURL }}tags/{{ . }}">
- <kbd class="item-tag">{{ . }}</kbd>
- </a>
+ <a href="{{ $.Site.BaseURL }}tags/{{ . }}"><kbd class="item-tag">{{ . }}</kbd></a>
{{ end }}
</div>