Articles with tag "Hugo"

Let Hugo ignore Emacs lockfiles

When you run

hugo server

the static web-site generator Hugo creates a local server that you can use to fine-tune your pages. Hugo sits and watches your content and layout directory for any changes. Whenever a file changes, it re-renders the pages and even tells your browser to live-relead the pages.

Very nice.

Except that it doesn’t work with Emacs. But there’s a cure.

Blog from Org-Mode to Hugo

I use the static web-site generator Hugo to create my home page. I also use Emacs as my main editor. Hugo is good with Markdown. Emacs is good at Markdown, too. But much better with Org-Mode.

If you want …

  • export one .org file as one web page, look at Giles Paterson solution
  • export just a subtree of an org-file (e.g. from your org-based Emacs configuration), then look here.