The ox-blog package allows you to write and publish a blog from within emacs.
- livereload (reload browser on export)
- categories
- drafts
- small enough to read through it
- < 1000 lines of code (~ 500 at the time of writing)
- just
htmlize,org-mode 9+&emacs 25+
The goal is to provide a user-friendly blogging environment for emacs that just works™.
org-blog-exportexport with draftsorg-blog-publishexport production (hide drafts) & pushexport-directoryrepository to origin
org-blog-projectproject plist, similar to a single entry fromorg-publish-project-alistorg-blog-draft-prefixorg-blog--template-indexorg-blog--template-index-itemorg-blog--template-category-jsorg-blog--server-livereload-script
:source-directory:export-directory:port:babel-evaluate:babel-header-args:index-head
To get started you need set org-blog-project and provide a source and an
export directory. Then just start writing and call org-blog-export to
export.
(setq org-blog-project '(:source-directory "~/blog/source"
:export-directory "~/blog/export"))See the source/ folder for an example configuration.
make install
make test