0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core
kirrg001 e4807a779c 🐛 Fixed default theme context
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
2018-06-08 15:11:47 +02:00
..
client@6506020ca2 Updated Ghost-Admin to 1.24.1 2018-06-07 10:21:01 +02:00
server 🐛 Fixed default theme context 2018-06-08 15:11:47 +02:00
test 🐛 Fixed default theme context 2018-06-08 15:11:47 +02:00
index.js