From 224c59fc2004f342c278836b28e405135ea21735 Mon Sep 17 00:00:00 2001 From: Meekdai Date: Tue, 21 Nov 2023 17:10:41 +0800 Subject: [PATCH] Update tag.html --- templates/tag.html | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/templates/tag.html b/templates/tag.html index 175278e..08493e5 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -65,24 +65,7 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font- {% block content %}
{{ blogBase['subTitle'] }}
- + {% endblock %} {% block script %} @@ -110,7 +93,7 @@ tag=window.location.hash.slice(1) function showList(jsonData){ let SideNav=document.getElementsByClassName("SideNav")[0]; for(i in jsonData["postListJson"]){ - + if(jsonData["postListJson"][i]['label']==tag || tag==''){ let item=document.createElement("a"); item.setAttribute("class","SideNav-item d-flex flex-items-center flex-justify-between"); @@ -130,7 +113,7 @@ function showList(jsonData){ let title=document.createElement("span"); title.setAttribute("class","listTitle"); - title.innerHTML=jsonData["postListJson"][i]['title']; + title.innerHTML=jsonData["postListJson"][i]['postTitle']; center.appendChild(svg); center.appendChild(title);