hexo-theme-next icon indicating copy to clipboard operation
hexo-theme-next copied to clipboard

Add changyan count configuration

Open yanickxia opened this issue 2 years ago • 3 comments

PR Checklist

  • [x] The commit message follows guidelines for NexT.
  • [x] Tests for the changes was maked (for bug fixes / features).
    • [x] Muse | Mist have been tested.
    • [x] Pisces | Gemini have been tested.
  • [ ] Docs in NexT website have been added / updated (for features).

PR Type

  • [ ] Bugfix.
  • [x] Feature.
  • [ ] Code style update (formatting, local variables).
  • [ ] Refactoring (no functional changes, no api changes).
  • [ ] Documentation.
  • [ ] Translation.
  • [ ] Other... Please describe:

What is the current behavior?

Issue resolved:

What is the new behavior?

  • Make Changyan count in post meta hidden or show
image to image

How to use?

In NexT _config.yml:

changyan:
  enable: false
  appid:
  appkey:
  count: true

yanickxia avatar Sep 13 '22 05:09 yanickxia

Thanks so much for opening your first PR here!

welcome[bot] avatar Sep 13 '22 05:09 welcome[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Sep 13 '22 05:09 CLAassistant

Pull Request Test Coverage Report for Build 3049818935

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.614%

Totals Coverage Status
Change from base Build 2982943064: 0.0%
Covered Lines: 394
Relevant Lines: 399

💛 - Coveralls

coveralls avatar Sep 13 '22 06:09 coveralls

Congrats on merging your first pull request here! :tada: How awesome!

welcome[bot] avatar Oct 01 '22 13:10 welcome[bot]