0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-25 02:31:59 -05:00
ghost/core
Hannah Wolfe 495eee7747 Use "mounting" concept for active theme ()
no issue

🔥 Remove DIRTY HACK for API
- this is no longer needed, because themes get mounted in every case

 Switch to concept of 'mounted' theme
- check if active theme is mounted
- if not, mount it
- mounting is a function OF the active theme

🎨 Move theme middleware to theme module

🎨 Update theme middleware function names
- update the function names and comments to be more representative of their current functions
- this was pretty old and out of date!

🚨 Fixup tests for middleware
- ensure the objects match what we expect
- based partially on theme docs

Update TODO
2017-03-21 10:03:09 +01:00
..
client@569fe051ef Updated Ghost-Admin: admin default.hbs now default.html 2017-03-20 12:02:49 +00:00
server Use "mounting" concept for active theme () 2017-03-21 10:03:09 +01:00
shared Find favicon in Ghost () 2017-01-23 10:13:52 +01:00
test Use "mounting" concept for active theme () 2017-03-21 10:03:09 +01:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00