Mercurial > piecrust2
view .hgtags @ 363:dd25bd3ce1f9
serve: Refactoring and fixes to be able to serve taxonomy pages.
* Page sources' `findPagePath` is renamed to `findPageFactory`, so that it
also returns source metadata.
* Page refs now store possible hits more properly, and use the previous point
to also store metadata. As a result, they can also return a proper factory.
* Implement `findPageFactory` correctly in all built-in sources.
* When the Chef server matches a taxonomy page, get the source metadata from
the page ref in order to make a more proper page.
* Make the `getRoute(s)` functions explicitely say if they want taxonomy routes
or not.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 26 Apr 2015 15:07:40 -0700 |
parents | 15d81d250b48 |
children | 115668bb447d |
line wrap: on
line source
cb1ed436642caadf9d3f19c1750096b116e43606 2.0.0-alpha1 cb1ed436642caadf9d3f19c1750096b116e43606 2.0.0-alpha1 ecee3e8f35e57e4a606794a11fc6e8aba2734d2f 2.0.0-alpha1 ecee3e8f35e57e4a606794a11fc6e8aba2734d2f 2.0.0-alpha1 8f988aa54433e0c4aa036cd00bcfa5904d3be304 2.0.0-alpha1 fdb08d986384687959fe11640f058eac22c17b8f 2.0.0-alpha2 c80a3be091da98f00ccb8e3a1be628f7d6a68ae5 2.0.0-alpha3 d74ae33832ae4ca0d17b56ea862381517875ab0a 2.0.0-alpha4 d74ae33832ae4ca0d17b56ea862381517875ab0a 2.0.0-alpha4 028df35a690e55c95c8fae692c85b3d69dc6cc7e 2.0.0-alpha4 acc718ab56da2aeecce83a9fe8240f48f2b0b607 2.0.0a5 1ecc0c16ba64619e16c18a3d777ab5d461240628 2.0.0a6 3a496ffbb898108feba64a3dbaabb2cd2a7ee4a7 2.0.0a7