move +hugo feature to contrib/+hugo.el

This commit is contained in:
Lorenzo Giuliani 2019-08-29 14:59:54 +02:00
parent a9e2bdf28c
commit ea4fa7021d
2 changed files with 13 additions and 8 deletions

View file

@ -0,0 +1,12 @@
;;; +hugo.el --- ox-hugo support -*- lexical-binding: t; -*-
;;;###if (featurep! +hugo)
(use-package! ox-hugo
:after ox
(map! :map org-mode-map
:localleader
(:prefix ("e" . "export")
:desc "to hugo" "h" #'org-hugo-export-to-md
:desc "to hugo & open" "H" #'org-hugo-export-as-md)))
;;; +hugo.el ends here