Mercurial > public > pelican-blog
annotate 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 |
rev | line source |
---|---|
bgneal@0 | 1 #!/usr/bin/env python |
bgneal@0 | 2 # -*- coding: utf-8 -*- # |
bgneal@0 | 3 from __future__ import unicode_literals |
bgneal@0 | 4 |
bgneal@0 | 5 # This file is only used if you use `make publish` or |
bgneal@0 | 6 # explicitly specify it as your config file. |
bgneal@0 | 7 |
bgneal@0 | 8 import os |
bgneal@0 | 9 import sys |
bgneal@0 | 10 sys.path.append(os.curdir) |
bgneal@0 | 11 from pelicanconf import * |
bgneal@0 | 12 |
bgneal@0 | 13 SITEURL = 'http://deathofagremmie.com' |
bgneal@0 | 14 RELATIVE_URLS = False |
bgneal@0 | 15 |
bgneal@0 | 16 FEED_ALL_ATOM = 'feeds/all.atom.xml' |
bgneal@0 | 17 CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml' |
bgneal@0 | 18 |
bgneal@0 | 19 DELETE_OUTPUT_DIRECTORY = True |
bgneal@0 | 20 |
bgneal@0 | 21 # Following items are often useful when publishing |
bgneal@0 | 22 |
bgneal@0 | 23 #DISQUS_SITENAME = "" |
bgneal@0 | 24 #GOOGLE_ANALYTICS = "" |