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 custom issue-term for utterances #443

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

mogeko
Copy link

@mogeko mogeko commented Sep 14, 2021

Add a configuration item Params.utterances.issueTerm to choose the mapping between blog posts and GitHub issues, its default value is pathname.

see https://utteranc.es

Snipaste_2021-09-14_22-55-58

Config (params.toml):

[utterances]       # https://utteranc.es/
  owner = ""              # Your GitHub ID
  repo = ""               # The repo to store comments
  issueTerm =""           # Choose the mapping between blog posts and GitHub issues. pathname (default), title, url, og:title...
  message = ""      # Optional
  link = ""         # Optional

Add a configuration item Params.utterances.issueTerm to choose the mapping between blog posts and GitHub issues, its default value is pathname
see https://utteranc.es
when setting default for the configuration item Params.utterances.issueTerm, "pathname" should be used.
Co-authored-by: Marcin Zajączkowski <148013+szpak@users.noreply.github.com>
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.

2 participants