Mercurial > public > pelican-blog
view publishconf.py @ 12:5ff71680269a
Set DISQUS_NO_ID so we don't confuse Disqus.
The Pelican Bootstrap3 theme is by default adding data-disqus-identifier to
my comment count links. Since my old blog didn't have these, I think Disqus
is getting confused. When I removed this, some blog entries where Disqus
didn't know what the comment count was suddenly began showing the correct
comment counts (mainly 0 I think).
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 04 Feb 2014 18:44:59 -0600 |
parents | c4ec6945bb86 |
children | a893739e9587 |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import unicode_literals # This file is only used if you use `make publish` or # explicitly specify it as your config file. import os import sys sys.path.append(os.curdir) from pelicanconf import * SITEURL = 'http://deathofagremmie.com' RELATIVE_URLS = False FEED_ALL_ATOM = 'feeds/all.atom.xml' CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml' DELETE_OUTPUT_DIRECTORY = True # Following items are often useful when publishing #DISQUS_SITENAME = "" #GOOGLE_ANALYTICS = ""