How to use strapi with Hugo?

I tried use strapi but I don’t know how to use strapi generate markdown files.

if no markdown files can’t generate html is right?

Old post i know, but maybe still interesing.

You can use the “getJson” Feature from hugo to make an request to the strapi API and get some json. Then you can process this data in go templating. You need to rebuild the webpage to see the results, this is not an JavaScript API Call rather an external data ressource to build the site. Its much more practical to use this in combination with an CI/CD pipeline. I use it with cloudflare pages, You can trigger an webhook directly from Strapi to rebuild the page with the new data.