Quellcode durchsuchen

fix silly archive template

 we don't need to render all entries twice
Oz N Tiram vor 9 Jahren
Ursprung
Commit
aa7e36d3b8
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      templates/archive_index.html

+ 2 - 2
templates/archive_index.html

@@ -1,10 +1,10 @@
 {% extends "base.html" %}
-{% block title %} Archive » oz123.github.com {% endblock %}
+{% block title %} Archive » {{ site_url }} {% endblock %}
 {% block content %}
 <div class="archive index">
 <h2>This is an archive of everything posted here ...</h2>
   {% for entry in entries %}
-    <p>{{ entry.published_html }}<a title="{{ entry.permalink }}" href="{{entry.permalink}}"> {{ entry.title }}</a></p>
+    <p><a title="../{{ entry.permalink }}" href="../{{entry.permalink}}">{{entry.title }}</a></p>
   {% endfor %}
 </div>
 {% endblock content %}