Difference between revisions of "Blogging"

From WikEmacs
Jump to navigation Jump to search
(Add Hakyll)
(Add ox-hugo)
Line 28: Line 28:
 
[https://github.com/CodeFalling/blog-admin blog-admin] works with hexo or [[org-page]] and provides an admin table, presenting the list of our posts, to which we can take actions, like toggling the 'publish' state.
 
[https://github.com/CodeFalling/blog-admin blog-admin] works with hexo or [[org-page]] and provides an admin table, presenting the list of our posts, to which we can take actions, like toggling the 'publish' state.
  
=== Nikola ===
+
=== Hugo ===
 +
 
 +
[https://ox-hugo.scripter.co ox-hugo] implements a Markdown backend for Org exporter. It exports to Blackfriday Markdown with [https://gohugo.io Hugo] front-matter in TOML or YAML.
 +
 
 +
'''ox-hugo''' supports two common Org blogging flows:
 +
 
 +
* exporting multiple Org sub-trees from a single file to multiple Hugo posts
 +
* exporting a single Org file to a single Hugo post
 +
 
 +
It also leverages the Org tag and property inheritance features.
 +
 
 +
See [https://ox-hugo.scripter.co/doc/why-ox-hugo/ Why ox-hugo?] to learn what motivated this package development inspite of Hugo being advertised as being able to support Org directly.
 +
 
 +
=== Nikola ==FR=
  
 
[[Nikola]] can handle org-mode files with the extension org2nikola.
 
[[Nikola]] can handle org-mode files with the extension org2nikola.

Revision as of 01:14, 2 October 2017

With org-mode

Each of these modes is effectively an in-emacs application.

Blog-minimal

blog-minimal is built on org-mode and well integrated into Emacs.

Hakyll

Being based on Pandoc, Hakyll has built-in support for org-mode files. The only limitation is the absence of support for org-mode metadata (#+TITLE, etc): Hakyll still requires a Jekyll-like YAML metadata block.

Jekyll

Jekyll is a static website and blog engine. It's possible to write everything in org-mode in a single org file, as described in this blog post: http://endlessparentheses.com/how-i-blog-one-year-of-posts-in-a-single-org-file.html

Technically, it's needed to use his package ox-jekyll-subtree and then we just need to call M-x endless/export-to-blog to export the current org subtree as a jekyll entry post.

Pelican

org_reader is a Pelican plugin to write posts in org-mode.

blog-admin

blog-admin works with hexo or org-page and provides an admin table, presenting the list of our posts, to which we can take actions, like toggling the 'publish' state.

Hugo

ox-hugo implements a Markdown backend for Org exporter. It exports to Blackfriday Markdown with Hugo front-matter in TOML or YAML.

ox-hugo supports two common Org blogging flows:

  • exporting multiple Org sub-trees from a single file to multiple Hugo posts
  • exporting a single Org file to a single Hugo post

It also leverages the Org tag and property inheritance features.

See Why ox-hugo? to learn what motivated this package development inspite of Hugo being advertised as being able to support Org directly.

== Nikola ==FR

Nikola can handle org-mode files with the extension org2nikola.

See also

Hublo

Hublo uses elisp to write configuration and the phases of build.

See more options within the Blog category.