alexbruno / hexo-generator-json-content

Hexo (https://hexo.io/) plugin to generate a JSON file for generic use or consumption with the contents of posts and pages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

keywords language

Buzut opened this issue · comments

commented

Thanks for your 4.1.1 fix!
I must have missed something because I keep getting this error:

Error: Language must be one of [danish,dutch,english,french,galician,german,italian,polish,portuguese,russian,spanish,swedish]

Where, how should I set the language in the yml?

I tried in the main jsonContent, directly in jsonContent.posts and also as a property of keywords in both of them…

commented

Ohhh, found it by checking the code!
in the main object it's not keywords: true but keywords: LANG.

The README wasn't clear about it.

Thanks @Buzut !
I merged your PR and will release a new patch.