Hi everyone,
I am planning to build a custom blog (Viber coding) where the frontend (HTML, CSS, and vanilla JS) is fully designed externally (generated via AI coding assistants).
However, I want to manage all my content, write posts, and handle the backend using Ghost CMS. Essentially, I want to use Ghost as a Headless CMS.
Could anyone guide me on how to achieve this? Specifically:
-
How do I fetch posts, tags, and authors from Ghost CMS and render them dynamically onto my custom HTML/CSS layout?
-
Is the Ghost Content API the right tool for this? If so, are there any simple JavaScript examples or boilerplates for rendering content on a static HTML page without using heavy frameworks (like Next.js or Gatsby)?
-
What are the best practices for handling routing (e.g., clicking on a post card to go to the single post detail page) in this setup?
Any advice, documentation links, or code snippets would be greatly appreciated!
Thank you so much!