0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/test/unit/controllers/frontend
Katharina Irrgang 594b0c2d14 Custom post templates (#9073)
closes #9060

- Update `gscan` - it now extracts custom templates and exposes them to Ghost
- Add `custom_template` field to post schema w/ 1.13 migration
- Return `templates` array for the active theme in `/themes/` requests
- Users with Author/Editor roles can now request `/themes/`
- Front-end will render `custom_template` for posts if it exists, template priority is now:
  1. `post/page-{{slug}}.hbs`
  2. `{{custom_template}}.hbs`
  3. `post/page.hbs`
2017-10-10 13:36:35 +01:00
..
channel-config_spec.js
channels_spec.js 🐛 Fixed channel context to be based on res.locals (#8910) 2017-08-16 11:06:30 +01:00
context_spec.js Added support for custom channel contexts (#9114) 2017-10-09 11:59:46 +02:00
custom_channels_spec.js
error_spec.js
fetch-data_spec.js
format-response_spec.js
post-lookup_spec.js
render-channel_spec.js 🦄 Channels: Stored config in res.locals not req (#8884) 2017-08-14 10:21:24 +07:00
templates_spec.js Custom post templates (#9073) 2017-10-10 13:36:35 +01:00