0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/server/apps/amp/lib
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
..
helpers 🎨 Ghost bootstrap: optimise requires (#8121) 2017-03-13 20:07:12 +00:00
views 💄 Add post image to AMP template and style fixes (#7272) 2016-08-26 12:28:45 +02:00
router.js Reimplement custom theme templates (#8147) 2017-03-14 00:15:50 +01:00