annotate publishconf.py @ 13:bcfe2a2c8358

Take advantages of new pelican-bootstrap3 features. Show date & tags on index. Show twitter widget. The Bootstrap readable theme was updated. I didn't like the new version as much so I saved it as 'readable-bgn' in my pelican-bootstrap3 repo. Added a setting PATH = 'content' to prevent weird errors when using 'fab regenerate', etc. Got this by googling.
author Brian Neal <bgneal@gmail.com>
date Mon, 10 Feb 2014 20:03:21 -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 = ""