masasam / emacs-easy-hugo

Emacs major mode for managing hugo

Home Page:https://gohugo.io/tools/editors/#emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Did you execute hugo new site bookshelf?

Sbozzolo opened this issue · comments

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

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

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

@Sbozzolo Thank you for proposal.
I fix it.