0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/client
Gabor Javorszky 212711d896 Added package.js support for themes (and plugins)
Closes #2081
* Amended require-tree to populate availableThemes and availablePlugins to use full file names (`basename.ext`) as keys instead of just basename. This way `image.jpg`, `image.png`, `image.gif` won't overwrite the `image` key.
* Amended require-tree to allow package.json file parsing to return the contents of the file as json on the `package.json` key.
* settings api populates theme data `package` if it exists. Otherwise it assigns `false` to it
* `general.hbs` (salute) was reworked to if there is the package key on the theme is not false, it will use the `name` and `version` keys of that. You can break it by not having a `name` or `version` in the package.json file.
* Added error and warning messages for package.json file parse errors and misses
2014-02-13 23:57:58 +00:00
..
assets Override border on login input:focus 2014-01-31 18:30:14 +07:00
helpers New URL helper - URL consistency fixes 2014-01-06 15:15:48 +00:00
models Merge branch '0.4-maintenance' 2014-01-26 16:11:02 +00:00
tpl Added package.js support for themes (and plugins) 2014-02-13 23:57:58 +00:00
views Merge pull request #2147 from gmurphey/master 2014-02-08 22:13:03 +00:00
init.js Show message and don't start if javascript files have not been built 2014-01-15 19:10:43 +00:00
markdown-actions.js Minor code cleanup of editor keyboard shortcut actions. 2014-01-25 21:23:17 -05:00
mobile-interactions.js Cleanup indentation and quotes 2013-09-26 15:06:31 +01:00
router.js API refactor / cleanup 2013-12-20 13:07:01 +00:00
toggle.js Speed up heinous slow animations 2014-01-07 22:19:52 +01:00