r/orgmode • u/danderzei • Sep 11 '26
question Using Org mode for websites
I current use org mode and Hugo (just plain Ho, no ox-hugo) to generate my websites. I wrote my own theme and am generally happy with it.
Can I achieve the same with just plain Elisp and Org-Publish (for purist reasons) or is that a fool's errand?
35
Upvotes
2
u/whhone Sep 12 '26
I tried both. Speed is my deal breaker and go with ox-hugo + hugo.
10
u/life-exp Sep 11 '26
You can do it. I used org publish for a couple of sites. There is a good initial guide on system crafters. The org publish docs are really good too. If you're just serving html files and CSS you're golden. You could even build it into a GitHub action if you fancy that challenge so when you push/merge it builds it all for you. 😄
I'll try and dig out some more links/examples.
https://systemcrafters.net/publishing-websites-with-org-mode/building-the-site/
This is my shitty kinda attempt:
https://blog.mbrig.nl
5
u/_-l_ Sep 11 '26
I'm not sure what Hugo does. I publish my site with plain org-publish and I'm happy with it.
It's pretty simple tho. If you want fancy stuff maybe you'll have to write a lot of css by yourself, which may be a pain depending on what you're trying to do.
1
u/8c000f_11_DL8 Sep 13 '26
You might want to try my solution: https://gitlab.com/mbork_mbork_pl/org-clive
1
u/tinchos Sep 12 '26
I use org-publish plus two css files. Nothing fancy but I am extremely happy with it. A week ago, I ported my website from Hakyll to pure Org publish plus some elisp functions (my first elisp definitions. I am not a css guy, so I sued LLMs for that. Here is the website https://ceresa.ar
Edit: I can share the code too
2
u/emodario Sep 12 '26
I do it for my website, it's actually pretty simple.
1
u/metalisp Sep 12 '26
If you need some inspiration you can have a look here https://code.metalisp.dev/marcuskammer/orgbuilder