Ghost/core
Sebastian 4525c355af Adding theme switcher to settings/general
closes #488 and #107
- added dropdown for theme selection on general page
- added GET /api/v0.1/themes to retrieve available themes
- modified settings model to get available themes
- modified updateSettignsCache to remove path from settings.activeTheme
2013-08-30 13:20:30 +02:00
..
client Adding theme switcher to settings/general 2013-08-30 13:20:30 +02:00
server Adding theme switcher to settings/general 2013-08-30 13:20:30 +02:00
shared Adding Github Flavored Markdown support 2013-08-29 14:32:09 +01:00
test CasperJS test amends 2013-08-30 10:50:42 +01:00
ghost.js Adding theme switcher to settings/general 2013-08-30 13:20:30 +02:00
README.md App restructure - closes #245 2013-07-11 20:23:34 +01:00

Core

Core contains the bread and butter of ghost. It is currently divided up into:

  • client - the assets, helpers, models, view and templates for rendering the admin panel backbone app
  • server - the controllers & helpers for driving the server side app along with the model, api, and data
  • shared - just contains lang for now, although it's not shared yet, more stuff should go here soon like handlebars helpers
  • test - contains unit tests and a set of html prototypes of the admin UI. Really, this folder should reflect all of core
  • ghost.js - currently both the glue that binds everything together and what gives us the API for registering themes and plugins. The initTheme function is a bit of a hack which lets us serve different views & static content up for the admin & blog

This structure is by no means final and recommendations are more than welcome.