diff options
author | Alan Pearce | 2017-06-04 14:46:40 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-04 14:46:40 +0200 |
commit | 8eeadd7d1930abb31a330f14f2735a10584998da (patch) | |
tree | 1984f6bc16fd55e328fab163ae7181d5b713f7d9 | |
parent | c215cfcd4d857aba68b70fbf5c8f3131d2763911 (diff) | |
download | dotfiles-8eeadd7d1930abb31a330f14f2735a10584998da.tar.lz dotfiles-8eeadd7d1930abb31a330f14f2735a10584998da.tar.zst dotfiles-8eeadd7d1930abb31a330f14f2735a10584998da.zip |
Emacs: Configure easy-hugo
-rw-r--r-- | emacs/.emacs.d/init.org | 11 |
1 files changed, 11 insertions, 0 deletions
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-<up>" . windmove-up) ("S-<down>" . 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 |