瀏覽代碼

Use relative tag url, consistent with category.

zhouji 11 年之前
父節點
當前提交
d0f85f3e1c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      templates/tags.html

+ 1 - 1
templates/tags.html

@@ -29,7 +29,7 @@ All tags used in the {{ SITENAME|striptags }} blog.
             {% for tag, articles in tags|sort %}
             <li>
             {% set num = articles|count %}
-            <a href="{{ SITEURL }}/tags.html#{{ tag.slug }}-ref">{{ tag }}<span>{{ num }}</span></a>
+            <a href="#{{ tag.slug }}-ref">{{ tag }}<span>{{ num }}</span></a>
             </li>
             {% endfor %}
         </ul>