2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00
Ghost/core/server/data/schema
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
..
clients 🔥 remove postgres support 2016-09-20 15:59:34 +01:00
fixtures Custom post templates (#9073) 2017-10-10 13:36:35 +01:00
checks.js 🐛 Fixed author helper not returning the correct url (#9102) 2017-10-05 13:50:55 +02:00
commands.js 🐛 Fix ghost update with migrations (#8810) 2017-08-01 17:27:13 +04:00
default-settings.json Private RSS feed (#9088) 2017-10-05 11:07:32 +01:00
index.js 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
schema.js Custom post templates (#9073) 2017-10-10 13:36:35 +01:00