Skip to content

Some tiny Kotlin utilities to help you convert your WordPress site to Hugo.

Notifications You must be signed in to change notification settings

vskjefst/wordpress-to-hugo-converters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

wordpress-to-hugo-converters

This is a set of Kotlin tiny utilities to help you convert your WordPress site to Hugo. It's my first go at Kotlin, so expect to see a lot of weird code.

  • Convert a flat Markdown structure to Hugo leaf page bundles.
  • Convert Easy Footnote footnotes to Markdown footntoes.
  • Convert HTML image tags to Markdown image tags, and move the images from WordPress' upload folder to the corresponding leaf node.
  • Convert HTML anchor tags to Markdown link tags.
  • Move the images from WordPress' upload folder to the corresponding leaf node.
  • Prepend "cover-" to any image in the "featured_image" front matter.

DISCLAIMER: Everything is provided as-is. You use everything in this repository at your own risk. I'm not liable for any damage caused by compiling, running, or otherwise using the code in this repository.

Here be dragons.

Visit me at www.vegard.net.

About

Some tiny Kotlin utilities to help you convert your WordPress site to Hugo.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages