fix taglist
All checks were successful
Linting markdown on PR / unicode-check (pull_request) Successful in 1m50s

This commit is contained in:
Paolo Asperti 2024-10-29 21:16:23 +01:00
parent 40d9b9fb49
commit 5ba40bb206
Signed by: paspo
GPG Key ID: 06D46905D19D5182
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");
$(".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 }}