Ghost/core/server/helpers
cobbspur 5c12c78d00 added url handlebars helper
closes #528

- adds method (isPost)to models index.js that returns true if content, content_raw, title and slug are valid properties
- adds url helper which checks context is post using  isPost method
- adds unit test to check a url is prefixed with  /
-adds unit test which checks for empty string if either of the 4 properties above are not present.
2013-08-26 23:58:35 +01:00
..
tpl Move pagination to class rather than ID 2013-08-26 02:29:44 +02:00
index.js added url handlebars helper 2013-08-26 23:58:35 +01:00