From 54e30efaebc5cc835ee8e769e700a606b52dbecf Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 4 Aug 2019 09:53:05 +0200 Subject: [PATCH] Move the if for easy-hugo. --- init.el | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/init.el b/init.el index 7069786..b525391 100644 --- a/init.el +++ b/init.el @@ -787,18 +787,19 @@ With argument, do this that many times." ("C-;" . iedit-mode)) ;; Mode for writing blog posts with hugo. -(if (string= (system-name) "ventiloplattform") - (use-package easy-hugo - :custom - (easy-hugo-basedir "~/Projekte/www/blog.tastytea.de/") - (easy-hugo-url "https://blog.tastytea.de") - (easy-hugo-previewtime "7200") ; 2 hours. - (easy-hugo-postdir "content/posts") - (easy-hugo-default-ext ".adoc") - (easy-hugo-asciidoc-extension "adoc") - (easy-hugo-server-flags "-D") - :bind - ("C-x M-h" . easy-hugo))) +(use-package easy-hugo + :if (string= (system-name) "ventiloplattform") + :custom + (easy-hugo-basedir "~/Projekte/www/blog.tastytea.de/") + (easy-hugo-url "https://blog.tastytea.de") + (easy-hugo-previewtime "7200") ; 2 hours. + (easy-hugo-postdir "content/posts") + (easy-hugo-default-ext ".adoc") + (easy-hugo-asciidoc-extension "adoc") + (easy-hugo-server-flags "-D") + :bind + ("C-x M-h" . easy-hugo) + ) ;; A template system. (use-package yasnippet)