masasam / emacs-easy-hugo

Emacs major mode for managing hugo
https://gohugo.io/tools/editors/#emacs
GNU General Public License v3.0
362 stars 26 forks source link

Make it possible to manage an unlimited number of blogs #31

Closed masasam closed 6 years ago

masasam commented 7 years ago

Unlimited blogs can not be managed with the settings below. Example of init.el easy-hugo-basedir-1 ~ easy-hugo-basedir-9

So I'm going to update easy-hugo so that it works with complete lists of settings. Example of init.el

(setq easy-hugo-bloglist '(((easy-hugo-basedir . "/home/masa/ppap") (easy-hugo-url . "http://example.com")) ((easy-hugo-basedir . "/home/masa/ppap1") (easy-hugo-url . "http://example.org")) ((easy-hugo-basedir . "/home/masa/ppap2") (easy-hugo-url . "http://example.net"))))

masasam commented 6 years ago

You can manage as many blogs as you like. done.