Mercurial > piecrust2
diff piecrust/sources/pageref.py @ 711:ab5c6a8ae90a
bake: Replace hard-coded taxonomy support with "generator" system.
* Taxonomies are now implemented one or more `TaxonomyGenerator`s.
* A `BlogArchivesGenerator` stub is there but non-functional.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 26 May 2016 19:52:47 -0700 |
parents | e7b865f8f335 |
children |
line wrap: on
line diff
--- a/piecrust/sources/pageref.py Thu May 26 19:46:28 2016 -0700 +++ b/piecrust/sources/pageref.py Thu May 26 19:52:47 2016 -0700 @@ -32,6 +32,9 @@ self._first_valid_hit_index = self._INDEX_NEEDS_LOADING self._exts = list(app.config.get('site/auto_formats').keys()) + def __str__(self): + return self._page_ref + @property def exists(self): try: