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

Error: Did you execute hugo new site bookshelf? #29

Closed Sbozzolo closed 7 years ago

Sbozzolo commented 7 years ago

Hello,

I believe that the error message: Did you execute hugo new site bookshelf? is misleading, it took me a while to figure out that I had just mistyped the variable easy-hugo-basedir. The error pops out when the folder easy-hugo-basedir + content/posts doesn't exist, and I think that this should be the content of the error message.

Bye, Sbozzolo

masasam commented 7 years ago

Hi @Sbozzolo . Thank you for comment. Indeed it is true. I will Correct the error message.

Sbozzolo commented 7 years ago

Hi, I won't open another issue for just a typo, but the docstring for easy-hugo-postdir should be corrected with: Directory where the theme stores its posts.

The same for the docstring Number of your blog which you managed., I would suggest to correct with: Number of blogs you want to manage.

Regards, sbozzolo

masasam commented 7 years ago

@Sbozzolo Thank you for proposal. I fix it.