Преглед изворни кода

remove hard coded site url from entry

Oz N Tiram пре 9 година
родитељ
комит
8765916f79
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      templates/entry.html

+ 2 - 2
templates/entry.html

@@ -14,9 +14,9 @@
   {% endif %}
 </div>
 <div class="tags">
-  <p>This entry was tagged 
+  <p>This entry was tagged
   {% for tag in entry.tags %}
-  <a class="tag" href="{{site_url}}/tags/{{ tag.slug }}"><span>{{ tag.name }}</span></a>{% if not loop.last %}, {% endif %}
+  <a class="tag" href="/tags/{{ tag.slug }}"><span>{{ tag.name }}</span></a>{% if not loop.last %}, {% endif %}
   {% endfor %}
 </div>
 <div id="underpost">