DEV Community


Discussion on: WordPress > SSG

bugsysailor profile image
Bugsy Sailor

I have not used Nuxtjs or Vuetify, but I did convert two old Wordpress websites, each with hundreds of posts, to static sites on Hugo.

Hugo is based on markdown files, so I wrote a custom PHP script to create an .md file for each post, they were all saved to the same director on my sever, and then zipped up in a single click.

That part was fairly easy, it took some tinkering and hackery to get all the needed frontmatter in place and to address several shortcodes I had been using in Wordpress. But after a few hours, I was up and running with all posts imported into Hugo!