Created
September 17, 2013 19:49
-
-
Save mandaris/6599599 to your computer and use it in GitHub Desktop.
Current version of my pelican configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- # | |
from __future__ import unicode_literals | |
AUTHOR = u'Mandaris' | |
SITENAME = u'Quotidian Quest' | |
SITEURL = u'quotidianquest.com' | |
TIMEZONE = u'US/Pacific' | |
DEFAULT_LANG = u'en' | |
THEME = '../elementary' | |
#THEME = '/Users/mandaris/Engineering/pelican-themes/mnmlist' | |
#THEME = 'notmyidea' | |
# Feed generation is usually not desired when developing | |
FEED_ALL_ATOM = None | |
CATEGORY_FEED_ATOM = None | |
TRANSLATION_FEED_ATOM = None | |
# Article Specific | |
ARTICLE_URL = ('{date:%Y}/{date:%m}/{slug}.html') | |
ARTICLE_SAVE_AS = ('{date:%Y}/{date:%m}/{slug}.html') | |
USE_FOLDER_AS_CATEGORY = False | |
DEFAULT_CATEGORY = 'misc' | |
# Settings for the way things look | |
DEFAULT_PAGINATION = 7 | |
DISPLAY_CATEGORIES_ON_MENU = False | |
TYPOGRIFY = True | |
DISPLAY_PAGES_ON_MENU = False | |
DISPLAY_CATEGORIES_ON_MENU = False | |
# Author changed information | |
#AUTHOR_SAVE_AS = False | |
#AUTHORS_SAVE_AS = False | |
MENUITEMS = ( | |
('Archives', '/archives.html'), | |
('Projects', '/pages/projects.html'), | |
('About', '/pages/about.html'), | |
) | |
# Blogroll | |
LINKS = (('Pelican', 'http://getpelican.com/'), | |
('Python.org', 'http://python.org/'), | |
('Jinja2', 'http://jinja.pocoo.org/'), | |
('You can modify those links in your config file', '#'),) | |
# Social widget | |
SOCIAL = (('ADN', 'https://alpha.app.net/mandaris'), | |
('twitter', 'http://twitter.com/mandaris'), | |
('Pinboard', 'https://pinboard.in/u:mandaris/public'), | |
('github', 'http://github.com/mandaris'), | |
('linkedin', 'http://www.linkedin.com/pub/mandaris-moore/8/67a/1'),) | |
# Uncomment following line if you want document-relative URLs when developing | |
RELATIVE_URLS = True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment