zzossig / hugo-theme-zzo

Make a blog with hugo zzo theme!
https://themes.gohugo.io//theme/hugo-theme-zzo/en/
MIT License
739 stars 260 forks source link

support custom issue-term for utterances #443

Open mogeko opened 2 years ago

mogeko commented 2 years ago

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