Mercurial > piecrust2
annotate build/messages/pages/error.html @ 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 | b6f79f23904a |
children |
rev | line source |
---|---|
123
b6f79f23904a
Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 --- |
b6f79f23904a
Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 title: The Cake Just Burned! |
b6f79f23904a
Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 layout: error |
b6f79f23904a
Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 --- |
b6f79f23904a
Upgrade system messages to the new folder structure.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 |