mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
212711d896
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 |
||
---|---|---|
.. | ||
admin_spec.js | ||
apps_spec.js | ||
bootstrap_spec.js | ||
client_ghostdown_spec.js | ||
client_showdown_int_spec.js | ||
config_spec.js | ||
errorHandling_spec.js | ||
export_spec.js | ||
filters_spec.js | ||
frontend_spec.js | ||
import_spec.js | ||
mail_spec.js | ||
middleware_spec.js | ||
permissions_spec.js | ||
server_helpers_index_spec.js | ||
server_helpers_template_spec.js | ||
server_spec.js | ||
shared_gfm_spec.js | ||
storage_localfilesystem_spec.js |