Hi,
I'm trying to create a sitemap.xml.
Nothing to say: a .mkd with "type: sitemap" with no content, and a for loop in the template
<ul>
{% for p in site.pages %}
<li>{{ p }} - {{ p.url }}</li>
{% endfor %}
</ul>
{{ page.url }}
The result is weird: a list of "<wok.page.Page 'sitemap'> - " elements (note empty.url) and finally the page.url "/sitemap.xml". None of the "p" vars equal "page" var.
¿What am I doing wrong?