Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add of Disqus to the Nest theme for Pelican #16

Closed
mohcinemadkour opened this issue Apr 22, 2017 · 2 comments
Closed

Add of Disqus to the Nest theme for Pelican #16

mohcinemadkour opened this issue Apr 22, 2017 · 2 comments

Comments

@mohcinemadkour
Copy link

Hi everyone

I have an issue adding the disqus comment to my blog made bt the pelican theme nest, I have created a disqus application and I have obtained the DISQUS_SITENAME , DISQUS_PUBLIC_KEY and the DISQUS_SECRET_KEY. I added these information in the pelicanconf.py but I can not see the comment block in the end of my articles. I have used the nest them from Github. Any idea why? thanks.

@mohcinemadkour mohcinemadkour changed the title Disqus in Nest them for Pelican Ass of Disqus to the Nest theme for Pelican Apr 22, 2017
@mohcinemadkour mohcinemadkour changed the title Ass of Disqus to the Nest theme for Pelican Add of Disqus to the Nest theme for Pelican Apr 23, 2017
@molivier
Copy link
Owner

molivier commented Apr 28, 2017

Hi Mochine,

To enable Disqus comment system you must set DISQUS_SITENAME and SITEURL in publishconf.py and/or pelicanconfig.py (Reference).

For example in my pelicanconf.py:

AUTHOR = u'Matthieu OLIVIER'
SITENAME = u'molivier'
SITEURL = 'http://127.0.0.1:8000'

For example in my publishconf.py:

SITEURL = 'https://www.molivier.com'
DISQUS_SITENAME = 'molivier'

This only activate Disqus when publishing.

@molivier
Copy link
Owner

Mochine,

I updated README to clarify Disqus activation.
Thank you for filling this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants