diff --git a/README.rst b/README.rst index 7a6abbf..276c3ce 100644 --- a/README.rst +++ b/README.rst @@ -118,6 +118,15 @@ website. ``SITEURL`` is defined (usually is) and either one of ``DISQUS_SITENAME`` or ``ISSO_SITEURL`` are defined! +Disqus Identifier +----------------- + +If you are migrated from wordpress or any CMS to pelican, the disqus identifier is different there. In pelican the disqus identifier is URL of an article. So you will lose Disqus discussion for that article because Disqus identifier for that article is changed. To override the disqus identifier of an article + +- ``disqus_identifier``: set this property in your article meta data. Set it to any unique string you want. It won’t be affected by the article URL. + +If you choose not to use ``disqus_identifier``, defaults article URL passes to Disqus as identifier. + X min read ---------- diff --git a/templates/_includes/disqus_script.html b/templates/_includes/disqus_script.html index b1dbaac..d7f252d 100644 --- a/templates/_includes/disqus_script.html +++ b/templates/_includes/disqus_script.html @@ -2,7 +2,11 @@