diff --git a/README.md b/README.md index 1d1ac9e..88a052b 100644 --- a/README.md +++ b/README.md @@ -472,6 +472,69 @@ document.addEventListener("pjax:success", whenContainerReady) --- +## FAQ + +### Q: Disqus doesn't work anymore, how can I fix that ? + +A: There is a few things you need to do: +- wrap your disqus snippet into a dom element that you will add to the `selector` +arra (or just wrap it with class="js-Pjax") & be sure to have a least the empty +wrapper on each page (to avoid differences of DOM between pages) +- edit your disqus snippet like the one below + +#### Disqus snippet before pjax integration + +```html + +``` + +#### Disqus snippet after Pjax integration + +```html +