I once tried to do this as well, and got sucked into the rabbit hole of tinkering with little scripts and hacks and trying things out and never writing my first blog post before I lost motivation.<p>Next time I feel like I want to write a blog I'll just put it on wordpress.com or so.
I realised a while ago that Github had an org mode renderer. So I've been working on a blog post that's hosted directly on Github (without needing to export to HTML). The renderer has some problems, but it's been OK for my code examples. Completely unfinished blog post here for example purposes only: <a href="https://github.com/ygt-mikekchar/oojs/blob/master/oojs.org" rel="nofollow">https://github.com/ygt-mikekchar/oojs/blob/master/oojs.org</a> You can look at raw mode to see what the source code looks like.<p>One of these days, I'm going to see if I can get something similar working on GitLab (which I've started using and admit to liking better at the moment). I think it should be easy, if a bit expensive (for them) because I should be able to set up a docker image with Emacs and export the HTML to generate a static page.<p>P.S. Anyone interested in the content of my blog post -- I got stalled trying to reason about the purpose of "this/self", but I've unstuck myself and should be finishing it up soon.
I use org-page (<a href="https://github.com/kelvinh/org-page" rel="nofollow">https://github.com/kelvinh/org-page</a>) to write my blog. It has a pretty cool workflow if you are into git, and integrates well with github pages.<p>The project seems to be dead (or stable!?), but I keep using it because I made some small tweaks to the default theme, which resulted in a clean looking website.<p>Maybe I'll switch to vanilla org-mode for static website generation in the future since I seem to always be in the mood to remove dependencies from my emacs config these days.
Nikola[0] has an orgmode plugin[1] that works fine for my blog. After I write something up, nikola builds the site (incremental build), I can view it locally to verify the rendering, and finally rsync the changes up to the web server.<p>[0] <a href="https://getnikola.com/" rel="nofollow">https://getnikola.com/</a><p>[1] <a href="https://plugins.getnikola.com/v8/orgmode/" rel="nofollow">https://plugins.getnikola.com/v8/orgmode/</a>
So the blog index is maintained by hand? <a href="https://gitlab.com/sadiq/sadiq.gitlab.io/blob/master/src/blog/blog.org" rel="nofollow">https://gitlab.com/sadiq/sadiq.gitlab.io/blob/master/src/blo...</a><p>That's a bit of a pickle.
I prefer keeping everything in one file (but exporting to separate files) so I hacked something up[1]. It doesn't build the index, but it would be pretty easy to extend to do so.<p>There's also Arthur Malabarba's extension[2] to ox-jekyll that's a much more complete solution.<p>[1] <a href="https://gist.github.com/andreareina/37c634f102f819db8e49828f34934542" rel="nofollow">https://gist.github.com/andreareina/37c634f102f819db8e49828f...</a><p>[2] <a href="http://endlessparentheses.com/how-i-blog-one-year-of-posts-in-a-single-org-file.html" rel="nofollow">http://endlessparentheses.com/how-i-blog-one-year-of-posts-i...</a>
You can do python stuffs too. Similar with jupyter: <a href="https://news.ycombinator.com/item?id=16842786" rel="nofollow">https://news.ycombinator.com/item?id=16842786</a>
Did the existing org-to-blog things not work for you? Here's a (probably incomplete) list:<p><pre><code> https://orgmode.org/worg/org-blog-wiki.html
</code></pre>
I've been using v1 of o-blog for a while, and it works ok: <a href="http://notes.secretsauce.net" rel="nofollow">http://notes.secretsauce.net</a><p>Maybe the other options are better, I don't know. Would definitely be interested in hearing people's personal experiences.
I ran into a problem following the example<p>```
$ emacs --batch -q -l src/my-web.el -f org-publish-all
Cannot open load file: No such file or directory, htmlize
```<p>I tried and succeeded in installing htmlize. But still ran into this issue. How do I resolve this?
> My idea was to put all articles (posts) in a single org file<p>Unfortunately, this is exactly what I'd like to do. Does anyone have cool examples of this alternate workflow?