Hugo dispatcher in Emacs
Find a file
2020-11-23 01:18:37 +01:00
.bumpversion.cfg Basic project setup and skeleton 2020-11-15 09:42:37 +01:00
.gitignore Initial commit 2020-11-15 07:28:11 +00:00
Cask Basic project setup and skeleton 2020-11-15 09:42:37 +01:00
hugo.el Hugo info buffer 2020-11-23 01:18:37 +01:00
LICENSE Basic project setup and skeleton 2020-11-15 09:42:37 +01:00
README.md Basic project setup and skeleton 2020-11-15 09:42:37 +01:00
TODO.org Hugo info buffer 2020-11-23 01:18:37 +01:00

hugo.el

License Version

Hugo in Emacs.

From the hugo documentation: "Hugo is a static HTML and CSS website generator written in Go. It is optimized for speed, ease of use, and configurability. Hugo takes a directory with content and templates and renders them into a full HTML website."

hugo.el is a wrapper around the hugo binary, offering an intuitive interface for Emacs.

Installation

Manually

  1. Dependencies

Poetry.el needs transient to be installed. It is avaliable on melpa.

  1. Clone the poetry.el repository:
git clone  https://git.friedl.net/incubator/hugo.el /path/to/hugo.el
  1. Add the following lines to .emacs.el (or equivalent):
    (add-to-list 'load-path "/path/to/poetry.el")
    (require 'poetry)

Usage

hugo.el uses transient to provide a magit-like interface. The entrypoint is simply:

M-x hugo

Credits

A big shoutout to poetry.el from which large parts of the project skeleton for hugo.el was derived, which helped tremendously.

Contribute

If you want to contribute to hugo.el feel free to send patches to dev[at]friedl[dot]net. Alternatviely, you can issue a pull request on GitHub which will be cherry picked into the main tree. If you plan significant long-term contributions drop me a mail for access to the incubator repository.

Github Users

If you are visiting this repository on GitHub, you are on a mirror of https://git.friedl.net/incubator/hugo.el. This mirror is regularily updated with my other GitHub mirrors.

Like with my other incubator projects, once I consider hugo.el reasonable stable the main tree will move to GitHub.