ppoffice / hexo-theme-minos

A simple and retro styled Hexo theme, concentrated more on your ideas.
http://ppoffice.github.io/hexo-theme-minos
MIT License
765 stars 202 forks source link

About configuring Valine Comment document Errors #57

Closed Nirnturt closed 6 years ago

Nirnturt commented 6 years ago

There is an error in configuring Valine Comment service documentation in MINOS

Source Document

comment:
    type: valine
    app_id: xxxxxxxx        # (required) LeanCloud application id
    app_key: xxxxxxxx       # (required) LeanCloud application key
    notify: false           # (optional) receive email notification
    verify: false           # (optional) show verification code
    placeholder: xxxxxxxx   # (optional) comment box placeholder text

In fact, this will show the AppID and Appkey in the comments area of Minos This should be the correct configuration

comment:
    type: valine
    appId: xxxxxxxx        # (required) LeanCloud application id
    appKey: xxxxxxxx       # (required) LeanCloud application key
    notify: false           # (optional) receive email notification
    verify: false           # (optional) show verification code
    placeholder: xxxxxxxx   # (optional) comment box placeholder text

Thank you for your work.

ppoffice commented 6 years ago

@EIVX Thank you for pointing it out. I pushed a fix to the repo. Now you can use valine without changing app_id to appId nor app_key to appKey.