Ghost/core/frontend/services/routing
Naz Gargol 518f2ccd82
🐛 Fixed incorrect body class output on page (#11264)
closes #11262
refs #10042

- Fixed issue where using {{body_class}} helper on a "page" type of a page was outputting `post-template` instead of `page-template`
- The issue was caused by this change 7dc38e2078 (diff-c33149d31de747bc5fbefcaf7a44da79L67-L72)
- Updated the comment to have real context of why this if is here
- Added test coverage for .page-template class
2019-10-23 18:06:45 +02:00
..
config 🔥 Removed V1 code/references in frontend resources/routing layer (#11087) 2019-09-10 11:41:42 +02:00
controllers Added access property to entries for v3+ api 2019-10-16 14:15:52 +07:00
helpers 🐛 Fixed incorrect body class output on page (#11264) 2019-10-23 18:06:45 +02:00
middlewares 🔥 Removed RSS pagination (#11069) 2019-09-02 11:34:13 +01:00
bootstrap.js Extracted settings service part manipulating routes.yaml (#10800) 2019-06-25 18:33:56 +02:00
CollectionRouter.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
index.js Moved settings dynamicRouting to routing.settings 2019-06-21 16:34:17 +02:00
ParentRouter.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
PreviewRouter.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
registry.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
RSSRouter.js 🔥 Removed RSS pagination (#11069) 2019-09-02 11:34:13 +01:00
settings.js Moved settings dynamicRouting to routing.settings 2019-06-21 16:34:17 +02:00
StaticPagesRouter.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00
StaticRoutesRouter.js 💡Changed static router - throw 400 for missing tpl 2019-09-06 15:41:42 +01:00
TaxonomyRouter.js 🔒 Added admin:redirects config option for disabling admin redirects 2019-09-12 12:40:12 +01:00