From 8eeadd7d1930abb31a330f14f2735a10584998da Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 4 Jun 2017 14:46:40 +0200 Subject: Emacs: Configure easy-hugo --- emacs/.emacs.d/init.org | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'emacs/.emacs.d') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 5675f56..34f24c4 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -1040,6 +1040,17 @@ Directional window movement ("S-" . windmove-up) ("S-" . windmove-down))) #+END_SRC +* Blogging + +I have a [[https://alanpearce.uk][blog]] that I publish with hugo. + +#+BEGIN_SRC emacs-lisp +(use-package easy-hugo + :config (setq easy-hugo-basedir (car (split-string (shell-command-to-string "ghq list --full-path alanpearce.uk"))) + easy-hugo-url "https://alanpearce.uk" + easy-hugo-default-ext ".md")) +#+END_SRC + * Completion Make built-in completion a bit more intelligent, by adding substring -- cgit 1.4.1