GitbookIO / plugin-disqus

Disqus comments on your books
Apache License 2.0
53 stars 21 forks source link

Use document name as identifier #4

Closed aschempp closed 9 years ago

aschempp commented 9 years ago

This PR adds a config option useIdentifier. If enabled, the Disqus platform will use the current document name (relative to the book base path) as identifier. If the same book is served from multiple places, this will load the same comments for the same page.

Additionally, I have fixed the language, which was always set to english. Now we're using the HTML document language instead.

SamyPesse commented 9 years ago

Sorry for taking so long.

Thanks :+1: