Pārlūkot izejas kodu

Use relative tag url, consistent with category.

zhouji 11 gadi atpakaļ
vecāks
revīzija
d0f85f3e1c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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>