fix taglist #324

Merged
paspo merged 1 commits from paspo/bglug.it:style-src-attr into main 2024-10-30 09:21:46 +00:00
3 changed files with 12 additions and 5 deletions
Showing only changes of commit 5ba40bb206 - Show all commits

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 }}