1
Fork 0

Make tag icon in details a link to the tags page

This commit is contained in:
Jake Howard 2020-09-12 00:07:33 +01:00
parent 46426c57b2
commit 562978f2b1
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 4 additions and 1 deletions

View file

@ -9,7 +9,9 @@
{{ end }}
{{ if .Params.tags }}
<i class="fas fa-tags small"></i>
<a href="{{ ref . "/tags" }}" class="no-color-change mr-1">
<i class="fas fa-tags small"></i>
</a>
{{ range $i, $e := .Params.tags }}
<a href="/tags/{{ urlize . }}" class="mr-1">#{{ . }}</a>
{{ end }}

View file

@ -263,6 +263,7 @@ h1, h2, h3, h4, h5, h6 {
a.no-color-change {
&, &:hover {
color: inherit;
text-decoration: none;
}
}