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);