I have one idea for a simple blog. However, there’s one section that would be dynamic. I am curious whether it would be possible to create a template and then load a JSON file with the data and let Ghost generate the pages dynamically.
For example: Imagine you have a template called cat.hbs and then a cat.json file with 100 cats. Would it be possible to generate a page for each cat with custom slugs so each one of those becomes https://mycat.com/cat/snowball or https://mycat.com/cat/pancake using one template?
I’ve seen this page but I’m confused, it seems that that is oriented towards creating custom URL structures, but not custom pages.
I don’t think Ghost would ever add something like this, because you are basically just wanting to import a flat file and create pages. There is nothing dynamic about this. Unless the cat.json file is made dynamically, in which case I’d debate that is pointless - use the API.