How does the ghost headless cms work?


#1

I am planning to use ghost as a CMS with Gridsome (SSG).

But I have few questions:

  1. Does Ghost headless CMS work as NetlifyCMS
  2. Do we have to host the ghost on some server to work
  3. Can we use Ghost headless CMS using a .js file or maybe append ghost cms in a sub-directory www.yoursite.com/ghost

#2

Ghost headless just means you don’t have to use the Ghost-generated frontend for your site. You use the Ghost backend to pull data in to your frontend, whatever that may be

  1. This is a really broad question, so it’s kind of difficult to answer
  2. Yes, Ghost needs to be hosted on a server to work. The Ghost Docs instance is hosted on Ghost Pro
  3. Ghost can be run in a subdirectory, but it cannot be hosted on the /ghost subdirectory. Similar to 1., this question needs more clarity.

To be clear, when it comes to saying Ghost can be headless, it basically means there is a robust API available for you to interact with your instance


#3

Well, NetlifyCMS works in a kinda different way where we have to just add two files at the root of the directory admin and inside that admin directory we have index.html and config.yml.

Index.html contains that core of the netlifycms which render the netlifycms interface and config.yml is to configure, how we want the posts to show up in the CMS.

https://www.netlifycms.org/docs/add-to-your-site/

Well, it is good idea to add similar concept the to Ghost and I really like the Ghost admin interface. :yum:


#4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.