mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
closes #9674 - the collection router had a hardcoded default context "home" - this is wrong - the context array get's automatically filled for the collection - if you are serving a page e.g. /page/2/ -> it's "paged" - if you are serving / -> it's "home" - same for {{body_class}}, it outputs "home-template" on "/" - this is the same behaviour as in 1.23.x |
||
---|---|---|
.. | ||
controllers | ||
helpers | ||
middlewares | ||
bootstrap.js | ||
CollectionRouter.js | ||
index.js | ||
ParentRouter.js | ||
PreviewRouter.js | ||
registry.js | ||
RSSRouter.js | ||
StaticPagesRouter.js | ||
StaticRoutesRouter.js | ||
TaxonomyRouter.js |