mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 01:03:23 +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 | ||
translations | ||
views | ||
web | ||
analytics-events.js | ||
filters.js | ||
ghost-server.js | ||
index.js | ||
overrides.js | ||
update-check.js |