Sfoglia il codice sorgente

Use relative tag url, consistent with category.

zhouji 11 anni fa
parent
commit
d0f85f3e1c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 %}
             {% for tag, articles in tags|sort %}
             <li>
             <li>
             {% set num = articles|count %}
             {% 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>
             </li>
             {% endfor %}
             {% endfor %}
         </ul>
         </ul>