Ghost/core/server/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.js 🙅🏽 Admin server split (#8142) 2017-03-14 17:03:30 +01:00
channels.js 🦄 Channels: Stored config in res.locals not req (#8884) 2017-08-14 10:21:24 +07:00
context.js Added support for custom channel contexts (#9114) 2017-10-09 11:59:46 +02:00
error.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
fetch-data.js Posts per page as theme-config (#8149) 2017-03-14 18:03:36 +01:00
format-response.js Switch frontend controller to use new filter param 2015-10-26 09:40:19 +00:00
post-lookup.js 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
render-channel.js Misc cleanup & consistency amends (#9002) 2017-09-12 17:31:14 +02:00
render-post.js Splitted preview & single controllers from index (#9121) 2017-10-09 13:56:44 +02:00
secure.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
templates.js Custom post templates (#9073) 2017-10-10 13:36:35 +01:00