Move the if for easy-hugo.
This commit is contained in:
parent
5cfceb1b5a
commit
54e30efaeb
25
init.el
25
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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user