TOC on Headless CMS


I used Hugo with markdown content files before. I switch to Strapi and Ghost for Headless CMS (Strapi for Landingpages and Ghost for Blog articles). Works fine so far and I’m happy.

One thing I didn’t find out:
I used the TableOfContents from Hugo and this worked fine in markdown files. TOC was created before the first chapter of my blog article. This doesn’t work with HTML Content from Ghost anymore. Is there a way to adjust the behavior or allow HTML Content for the creation of TOC navigation?

Best Regards

I solved it by utilizing the “content page creation” script i use to create the Ghost Blog Article pages.