Parcourir la source

Use relative tag url, consistent with category.

zhouji il y a 12 ans
Parent
commit
d0f85f3e1c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>