Skip to content

Instantly share code, notes, and snippets.

@major
Created April 11, 2012 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save major/2359186 to your computer and use it in GitHub Desktop.
Save major/2359186 to your computer and use it in GitHub Desktop.
pelican config
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
AUTHOR = u"me"
SITENAME = u"testingpelican.com"
SITEURL = "/"
ARTICLE_URL = 'posts/{date:%Y}/{date:%m}/{date:%d}/{slug}/'
ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html'
PAGE_URL = 'pages/{slug}/'
PAGE_SAVE_AS = 'pages/{slug}.html'
TIMEZONE = 'America/Chicago'
DEFAULT_LANG='en'
## Blogroll
#LINKS = (
# ('Pelican', 'http://docs.notmyidea.org/alexis/pelican/'),
# ('Python.org', 'http://python.org'),
# ('Jinja2', 'http://jinja.pocoo.org'),
# ('You can modify those links in your config file', '#')
# )
## Social widget
#SOCIAL = (
# ('You can add links in your config file', '#'),
# )
DEFAULT_PAGINATION = 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment