fix taglist (#324)
Some checks failed
Container Publish / build-image (push) Successful in 9m8s
Vulnerability Scan / Daily Vulnerability Scan (push) Failing after 42s

fix nascondino tag

Reviewed-on: #324
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
Paolo Asperti 2024-10-30 09:21:41 +00:00 committed by Paolo Asperti
parent 0c15555dc1
commit 6a0eec5c78
3 changed files with 12 additions and 5 deletions

View File

@ -1,5 +1,5 @@
function show_all_tags(e) {
$(".tags-sidebar li").css("display","inline-block");
$(e).css("display","none");
return false;
}
$(".tags-sidebar li").removeClass("hidden");
$(e).addClass("hidden");
return false;
}

View File

@ -209,3 +209,10 @@ article header div.author {
.icon.major {
cursor: pointer;
}
.tags-sidebar {
li.hidden {
display: none;
visibility: hidden;
}
}

View File

@ -50,7 +50,7 @@
<li>
<a style="font-size: {{ $font_size }}rem;" href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML }} ({{ len .Pages }})</a></li>
{{ else }}
<li style="display: none;">
<li class="hidden">
<a style="font-size: {{ $font_size }}rem;" href="/{{ .Page.Lang }}{{ .Page.Path }}">{{ .Page.LinkTitle | safeHTML }} ({{ len .Pages }})</a></li>
{{ end }}
{{ end }}