Permalink
Browse files

sitemap.html was in the wrong folder.

  • Loading branch information...
1 parent 7aa89b5 commit 4b4217123420b81c316e97a629547c38f58cf322 Raphael Jasjukaitis committed Jul 31, 2011
@@ -1 +1,17 @@
-Foo
+{% load mptt_tags %}
+<div id="sitemap">
+ {% for page, structure in pages|tree_info %}
+ {% if structure.new_level %}
+ <ul>
+ <li>
+ {% else %}
+ </li>
+ <li>
+ {% endif %}
+ <a href="{{ page.get_absolute_url }}" title="{{ page }}">{{ page }}</a>
+ {% for level in structure.closed_levels %}
+ </li>
+ </ul>
+ {% endfor %}
+ {% endfor %}
+</div>
@@ -1,17 +0,0 @@
-{% load mptt_tags %}
-<div id="sitemap">
- {% for page, structure in pages|tree_info %}
- {% if structure.new_level %}
- <ul>
- <li>
- {% else %}
- </li>
- <li>
- {% endif %}
- <a href="{{ page.get_absolute_url }}" title="{{ page }}">{{ page }}</a>
- {% for level in structure.closed_levels %}
- </li>
- </ul>
- {% endfor %}
- {% endfor %}
-</div>

0 comments on commit 4b42171

Please sign in to comment.