annotate pelicanconf.py @ 2:b7be75ff95b0

Created a script to convert my Blogofile posts to Pelican.
author Brian Neal <bgneal@gmail.com>
date Wed, 29 Jan 2014 21:32:04 -0600
parents 64edb34396b6
children c3115da3ff73
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 AUTHOR = u'Brian Neal'
bgneal@0 6 SITENAME = u'Death of a Gremmie'
bgneal@0 7 SITEURL = ''
bgneal@0 8
bgneal@1 9 TIMEZONE = 'US/Central'
bgneal@0 10
bgneal@0 11 DEFAULT_LANG = u'en'
bgneal@0 12
bgneal@0 13 # Feed generation is usually not desired when developing
bgneal@0 14 FEED_ALL_ATOM = None
bgneal@0 15 CATEGORY_FEED_ATOM = None
bgneal@0 16 TRANSLATION_FEED_ATOM = None
bgneal@0 17
bgneal@0 18 # Blogroll
bgneal@0 19 LINKS = (('Pelican', 'http://getpelican.com/'),
bgneal@0 20 ('Python.org', 'http://python.org/'),
bgneal@0 21 ('Jinja2', 'http://jinja.pocoo.org/'),
bgneal@0 22 ('You can modify those links in your config file', '#'),)
bgneal@0 23
bgneal@0 24 # Social widget
bgneal@0 25 SOCIAL = (('You can add links in your config file', '#'),
bgneal@0 26 ('Another social link', '#'),)
bgneal@0 27
bgneal@0 28 DEFAULT_PAGINATION = 10
bgneal@0 29
bgneal@0 30 # Uncomment following line if you want document-relative URLs when developing
bgneal@0 31 #RELATIVE_URLS = True
bgneal@1 32
bgneal@1 33 DEFAULT_CATEGORY = 'coding'
bgneal@1 34
bgneal@1 35 ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}/'
bgneal@1 36 ARTICLE_SAVE_AS = ARTICLE_URL + 'index.html'
bgneal@1 37 PAGE_URL = '{slug}/'
bgneal@1 38 PAGE_SAVE_AS = PAGE_URL + 'index.html'
bgneal@1 39
bgneal@1 40 AUTHOR_SAVE_AS = False
bgneal@1 41 AUTHORS_SAVE_AS = False
bgneal@1 42