In example/demo/content/tags.taxonomy the template title & description of the archive use page.name and the refdoc documents its existence, but it seems to have disappeared at some point (I am at least reasonably sure it existed last year).
Adding to ArchivePage in staticsite/features/syndication.py (I would have kinda expected it to be in taxonomy.py) a to_dict method "stolen" from the CategoryPage and self.name = self.created_from.to_dict().get("name") to the constructor solves this small problem, but I fully expect there to be a better/cleaner way.
Related: I see that lib/blog.html template uses page.created_from.…, so perhaps that should be used in the templates instead of page.name, but it isn't documented.
In
example/demo/content/tags.taxonomythe template title & description of the archive usepage.nameand the refdoc documents its existence, but it seems to have disappeared at some point (I am at least reasonably sure it existed last year).Adding to
ArchivePageinstaticsite/features/syndication.py(I would have kinda expected it to be intaxonomy.py) ato_dictmethod "stolen" from the CategoryPage andself.name = self.created_from.to_dict().get("name")to the constructor solves this small problem, but I fully expect there to be a better/cleaner way.Related: I see that
lib/blog.htmltemplate usespage.created_from.…, so perhaps that should be used in the templates instead ofpage.name, but it isn't documented.