I'm switching my site from Jekyll to Ghost due to non-maintainable code since my site contains a large number of posts(~2500). Since, Jekyll uses YAML
frontmatter I'm able to add custom key value pairs in it. I would like to accomplish the same using Ghost.
I will not add the contents to the post since the difference among all the posts is very small. So, I'm planning to access the data in the post
template and render it at runtime using Handlebars.js
, thus avoiding code repetition and enhancing maintainability.
I'm going to use the API to add new posts and hence I'm wondering whether there is an option for it. I googled for this problem but I cannot find one. I'm using sqlite
as the database.