Hugo blog org-capture-templates

Blogging with org-mode I do almost all my note-taking in Emacs org-mode, so naturally I also prefer to write my blog posts in it. As for my ox-hugo blogging flow, I use the less preferred method: one org file per post, the consequence is I cannot just copy-paste the org capture setup provided by the doc site. I also setup my posts in a subdirectory beneath the HUGO_BASE_DIR: 1 tree -n ....

March 3, 2024 · (updated March 23, 2024) · 10 min · 2101 words · Kristian Alexander P

Github Action for hugo static site using Emacs

About This site is build with Hugo which is a static site generator using markdown. The usual way of doing github action with hugo is using the actions-hugo workflow. Since I’m using org-mode for literally everything, it’s only natural that I also use it for blogging. Figure 1: Deployment to github pages Setup Create a script for exporting org-files to markdown We need to be able to export the org-mode files into markdown format....

February 22, 2024 · (updated March 23, 2024) · 2 min · 393 words · Kristian Alexander P