Use file basename instead of permalink as ID
This commit is contained in:
parent
8b15b6b220
commit
246ba8bf87
|
@ -3,5 +3,5 @@ initComments({
|
||||||
defaultHomeserverUrl: "https://matrix.cactus.chat:8448", // full url of the Matrix server to use as guest
|
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
|
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
|
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.
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue