djyde / cusdis

lightweight, privacy-friendly alternative to Disqus.
https://cusdis.com
GNU General Public License v3.0
2.64k stars 232 forks source link

docs: jekyll baseurl not set #278

Open NikLeberg opened 6 months ago

NikLeberg commented 6 months ago

Hey there @djyde

Thanks for this, it works flawlessly. Small heads-up: In the docs for the jekyll integration there is a small error: https://github.com/djyde/cusdis/blob/7bcf25611de75f52b337a9bb2e6b3f931822f56c/public/doc/integration/jekyll.md?plain=1#L15 It should be:

data-page-url="{{ site.url }}{{ site.baseurl }}{{ page.url }}" 

i.e. site.baseurl and not page.baseurl. Otherwise the baseurl as commonly used in GitHub Pages is not correctly found and I think comments could appear on multiple pages.