Publishing Partial Vault To Hugo

Thought I’d share this here if anyone else is interested:

TL;DR:
With a bit of Python as glue I can now mark notes to publish on my personal Hugo site and everything is handled automatically by GitLab CI/CD from there

5 Likes

Very nice. I was thinking about doing something similar for my blog (generated by Jekyll). Thanks for sharing!

1 Like

Updated link: Publish Parts Of Obsidian To My Personal Site - Marco's Notes

Hello ! Your workflow is very interesting, but I have a question : Where you put your obsidian folder ?

Looks like the links broke some time ago, here is the working new one:

My obsidian folder is the root of a GitLab repository and the hugo page lives in a .publish subfolder in there

1 Like

I have recently rewritten this publishing pipeline and thought I’d share the new version here too:

Thanks! I’m using Hugo for my website and I’m having problems exporting the markdown files to Hugo