plist 添加链接到 tag

This commit is contained in:
Meekdai 2023-11-21 17:16:33 +08:00
parent 224c59fc20
commit bce294921c
2 changed files with 6 additions and 1 deletions

View File

@ -77,7 +77,7 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-
</div>
<div class="listLabels">
{% if postListJson[num]['commentNum']>0 %}<span class="Label" style="background-color:{{ blogBase['commentLabelColor'] }}">{{ postListJson[num]['commentNum'] }}</span>{% endif %}
<span class="Label" style="background-color:{{ postListJson[num]['labelColor'] }}">{{ postListJson[num]['label'] }}</span>
<span class="Label" style="background-color:{{ postListJson[num]['labelColor'] }}"><a href="/tag.html#{{ postListJson[num]['label'] }}">{{ postListJson[num]['label'] }}</a></span>
<span class="Label" style="background-color:{{ postListJson[num]['dateLabelColor'] }}">{{ postListJson[num]['createdDate'] }}</span>
</div>
</a>

View File

@ -43,6 +43,11 @@ h1 a:not([href]){color:inherit;text-decoration:none;vertical-align: bottom;font-
<path id="searchSVG" fill-rule="evenodd" d=""></path>
</svg>
</div>
<a href="/"><button id="buttonHome" class="btn btn-invisible circle" title="{{ i18n['home'] }}">
<svg class="octicon" width="16" height="16">
<path id="pathHome" fill-rule="evenodd" d="{{ IconList['home'] }}"></path>
</svg>
</button></a>
{% for num in blogBase['singeListJson'] -%}
<a href="/{{ blogBase['singeListJson'][num]['label'] }}.html"><button class="btn btn-invisible circle" title="{{ blogBase['singeListJson'][num]['postTitle'] }}">
<svg class="octicon" width="16" height="16" >