Browse Source

Use relative tag url, consistent with category.

zhouji 11 years ago
parent
commit
d0f85f3e1c
1 changed files with 1 additions and 1 deletions
  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>