Update tag.html

This commit is contained in:
Meekdai 2023-11-22 10:29:28 +08:00
parent f1584f9e9e
commit b6539d148c

View File

@ -18,14 +18,14 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-
@media (max-width: 767px) {
body { padding: 8px;}
h1 a{font-size:24px;}
.tagTitle{font-size:24px;}
.LabelTime{display:none;}
}
</style>
{% endblock %}
{% block header %}
<h1><a href="/tag.html">Tag</a></h1>
<h1><a class="tagTitle">Tag</a></h1>
<div class="title-right">
<a href="/"><button id="buttonHome" class="btn btn-invisible circle" title="{{ i18n['home'] }}">
@ -155,7 +155,9 @@ function updateShowTag(label){
function setClassDisplay(lable) {
let lists = document.getElementsByClassName("lists");
let tagTitle = document.getElementsByClassName("tagTitle")[0];
tagTitle.innerHTML="Tag - "+lable;
if(lable=="All"){for(let i = 0; i < lists.length; i++){lists[i].style.display='block';}}
else{
for(let i = 0; i < lists.length; i++){