0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/apps
Hannah Wolfe bb3cc8c0f8 Reimplement custom theme templates (#8147)
closes #8082

- Update the `pickTemplate` logic to
  a) rely on getActive().hasTemplate() instead of being passed a list of paths
  b) support the concept of a fallback, which is returned if there is no theme, or if the theme doesn't have a more specific template
- Update every instance of template picking, across the 3 internalApps, and render-channel, to use this new logic
- update the tests
2017-03-14 00:15:50 +01:00
..
amp Reimplement custom theme templates (#8147) 2017-03-14 00:15:50 +01:00
private-blogging Reimplement custom theme templates (#8147) 2017-03-14 00:15:50 +01:00
subscribers Reimplement custom theme templates (#8147) 2017-03-14 00:15:50 +01:00
dependencies.js Replace fs.exists (deprecated) with fs.stat 2015-03-17 11:49:43 -07:00
index.js Error creation (#7477) 2016-10-06 13:27:35 +01:00
loader.js 🎨 🔦 refactor content paths (images, apps, themes, storage, scheduling) 2016-09-20 15:59:34 +01:00
permissions.js 🎨 Collect & simplify package utils (#8080) 2017-03-01 14:09:31 +01:00
proxy.js Minor internal apps improvements 2016-04-14 19:05:48 +01:00
sandbox.js 🔥 remove postgres support 2016-09-20 15:59:34 +01:00