For one of my use case, we have to render pages generated from almost a static data available in DB.<p>I'm wondering if we can have hugo(/any static site) to use DB as a datasource to get the data from DB for site generation. Do we have a plugin that could support that?
Hugo is cool and all, but in the end it isn't that hard nowadays to bash together libraries to get whatever you want do, in whatever language you like, with whatever logic you like.<p>If you have an existing Hugo install, the easiest thing to do is write code to output your DB into static files, then run the Hugo process. A batch file or shell script can easily be used to automate the publication process. Trying to hack Hugo to directly use the DB is not worth it.