Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for utterances and giscus #1675

Closed
wants to merge 2 commits into from
Closed

Support for utterances and giscus #1675

wants to merge 2 commits into from

Conversation

beiyuouo
Copy link

@beiyuouo beiyuouo commented Oct 10, 2021

PR Checklist

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

PR Type

  • Bugfix.
  • Feature.
  • Code style update (formatting, local variables).
  • Refactoring (no functional changes, no api changes).
  • Build & CI related changes.
  • Documentation.
  • Translation.
  • Other... Please describe:

What is the current behavior?

Issue resolved: N/A

What is the new behavior?

How to use?

In NexT _config.yml:

# Demo: https://utteranc.es/
utterances:
  enable: false
  repo: # Repository to store issues E.g. theme-next/blog-comments
  pathname: pathname # Issue title
  # theme: github-light | github-dark | github-dark-orange | icy-dark | photon-dark | dark-blue | boxy-light
  theme: boxy-light
  cdn: https://utteranc.es/client.js # No need to change

# Demo: https://giscus.app/
giscus:
  enable: false
  repo: # Repository to store issues E.g. theme-next/blog-comments
  repo_id: # Generated from giscus
  category: General # Github Discussion Category
  category_id: # Generated from giscus
  pathname: pathname # Discuss title
  reactions_enabled: 1
  emit_metadata: 0
  # theme: light | dark | dark_dimmed | dark_high_contrast | dark_protanopia | light_protanopia | transparent_dark | preferred_color_scheme
  theme: dark_dimmed
  cdn: https://giscus.app/client.js

@welcome
Copy link

welcome bot commented Oct 10, 2021

Thanks so much for opening your first PR here!

@CLAassistant
Copy link

CLAassistant commented Oct 10, 2021

CLA assistant check
All committers have signed the CLA.

@beiyuouo beiyuouo changed the title Support for utterances Support for utterances and giscus Oct 12, 2021
@beiyuouo beiyuouo closed this May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants