Skip to content

Is there a way to explicitly set/override the github discussion i want associated with a given page/note? #459

Discussion options

You must be logged in to vote

@rufuspollock yes this is possible to do by checking explicitly if a frontmatter field giscus_id exists and then use that for mapping else default to using the pathname. The giscus_id would be the discussion number.

Another alternative can be that you can modify the title of the discussion to have the new page's pathname and giscus should map that automatically, since that is the mapping method setup currently.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@khalilcodes
Comment options

@rufuspollock
Comment options

rufuspollock Apr 12, 2023
Maintainer Author

@khalilcodes
Comment options

@rufuspollock
Comment options

rufuspollock Apr 24, 2023
Maintainer Author

@khalilcodes
Comment options

Answer selected by rufuspollock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants