Ghost/core
Matthew Harrison-Jones de09e7d19c Fixes login box being off centred on small screens
Accounted for top offset to keep login container centred. Login container fades in on load.
Tested on a variety of window sizes and appears to be centred on all of them (measured it to make sure).
2013-06-13 09:38:40 +01:00
..
admin Fixes login box being off centred on small screens 2013-06-13 09:38:40 +01:00
frontend Directory scanning on contents/themes and plugins 2013-06-09 20:17:54 +01:00
lang Bookshelf provider abstraction and tests 2013-05-23 23:02:41 -05:00
shared Merge pull request #131 from javorszky/iss82-2 2013-06-11 04:41:22 -07:00
test Merge branch 'pr/119' 2013-06-09 21:41:07 +01:00
ghost.js Directory scanning on contents/themes and plugins 2013-06-09 20:17:54 +01:00
README.md Initial commit to GitHub repo 2013-05-11 17:44:25 +01:00

Core

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

  • admin - the views, controllers, assets and helpers for rendering & working the admin panel
  • frontend - the controllers & helpers for creating the frontend of the blog. Views & assets live in themes
  • lang - the current home of everything i18n, this was done as a proof of concept on a very early version of the prototype and needs love
  • shared - basically everything to do with data & models. The sqlite db file lives in the data folder here. This is the part that needs the most work so it doesn't make much sense yet, and is also the highest priority
  • test - currently contains two sad unit tests and a set of html prototypes of the admin UI. Really, this folder should reflect all of core. It is my personal mission to make that happen ASAP & get us linked up with Travis.
  • 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 & frontend.

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