Explorar o código

Removes SITEURL from url

Talha Mansoor %!s(int64=11) %!d(string=hai) anos
pai
achega
8b37741e25
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      templates/article.html

+ 1 - 1
templates/article.html

@@ -42,7 +42,7 @@
         {% endif %}
         {% if article.category %}
         <h4>Category</h4>
-        <a href="{{ SITEURL }}/categories.html#{{ category|replace(' ', '-')|e }}-ref">{{ article.category }}</a> 
+        <a class="category-link" href="/categories.html#{{ category|replace(' ', '-')|e }}-ref">{{ article.category }}</a> 
         {% endif %}
         {% if article.tags %}
         <h4>Tags</h4>