For a while now, I’ve been thinking about moving my blog from Hugo & PaperMod to BSSG.
Both are Static Site Generators, both use Markdown, both are Open Source. But as far as I can tell, the frontmatter of the documents differs between the two systems. This would mean that I’d have to at least check each and every md file by hand before moving it from Hugo to BSSG.
The main content of my blog, i. e. the posts and fixed pages which I wrote by hand, would not be an issue. Currently about 50 files to review and adjust. But I have also moved all my posts from Instagram and Pixelfed over, using a quick’n’dirty Visual Basic script to convert exported HTML into separate files. Hundreds of posts containing one or more images, a few hashtags and maybe a short comment.
I could rewrite that script to accommodate BSSG, but what about the next switch to a new platform a few years down the road?
How do you, fellow bloggers out there, handle this problem?
Should I create all my posts in some kind of basic format and write a translator script to create the final md file with the correct frontmatter? Should I learn Python or Rust and convert the current Hugo style files to BSSG input? And speaking for programming languages: which one _should_ I learn, Python or Rust?
So many questions. :-)
Links:
BSSG - Bash Static Site Generator
The world's fastest framework for building websites
GitHub - adityatelange/hugo-PaperMod: A fast, clean, responsive Hugo theme.