Use file basename instead of permalink as ID

This commit is contained in:
Jez Cope 2021-05-11 17:45:09 +01:00
parent 8b15b6b220
commit 246ba8bf87
1 changed files with 1 additions and 1 deletions

View File

@ -3,5 +3,5 @@ initComments({
defaultHomeserverUrl: "https://matrix.cactus.chat:8448", // full url of the Matrix server to use as guest
serverName: "cactus.chat", // server name of the Matrix server w/ Cactus Appservice
siteName: "{{ .Site.Params.comments.cactus }}", // the name that you registered with the cactus appservice
commentSectionId: "{{ .Page.Permalink }}" // unique ID for this comments section.
commentSectionId: "{{ .File.BaseFileName }}" // unique ID for this comments section.
})