mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
e4807a779c
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 |
||
---|---|---|
.. | ||
adapters | ||
api | ||
apps | ||
config | ||
data | ||
helpers | ||
lib | ||
models | ||
public | ||
services | ||
web | ||
filters_spec.js |