Closed gregersn closed 8 years ago
Thank you. I would appreciate it if you would also update the documentation. (i.e. describe the special saveas
attribute of a content file.) And perhaps add a FAQ to describe usage?
I was fooled to believe that by using the saveas
in my content files (beyond sitemap.md
) links to those files would also resolve to the new destination path; allowing me to, for instance, name my .md files according to dates without worrying that final URLs will look ugly. At least that was the impression I got from reading the manual.
Are users of saveas
supposed to change all their templates to test for {{this.saveas}}
as opposed to just {{this.id}}
or {{this.url}}
?
I prepared a small patch in case the answer is no; it's doing the job for me. Otherwise I would like to start changing my layouts and keep using mainstream Urubu.
With this change it will be easy to make sitemaps as discussed in #39 .
By having a template called sitemap.html like so: `<?xml version="1.0" encoding="UTF-8"?>