Skip to content

support custom issue-term for utterances #443

Open
mogeko wants to merge 4 commits intozzossig:masterfrom
mogeko:dev
Open

support custom issue-term for utterances #443
mogeko wants to merge 4 commits intozzossig:masterfrom
mogeko:dev

Conversation

@mogeko
Copy link
Copy Markdown

@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.
Comment thread exampleSite/config/_default/params.toml Outdated
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