-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpelicanconf.py
executable file
·36 lines (30 loc) · 1.15 KB
/
pelicanconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Tom Hayden'
SITENAME = u'Tom Hayden'
SITEURL = 'http://tomhayden3.com/'
TIMEZONE = 'America/Chicago'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
# FEED_ATOM = "feeds/all.atom.xml"
# CATEGORY_FEED_ATOM = "feeds/%s.atom.xml"
TAG_FEED_ATOM = "feeds/tag/%s.atom.xml"
ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}'
ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html'
TAG_URL = "tag/{slug}/"
TAG_SAVE_AS = "tag/{slug}/index.html"
# Blogroll
LINKS = (('Pelican', 'http://getpelican.com/'),
('Python.org', 'http://python.org/'),
('Jinja2', 'http://jinja.pocoo.org/'))
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
THEME = "./themes/tom"
CSS_FILE = "main.css"
STATIC_PATHS = ['html/fantasy_2013','images', 'data', 'extra/favicon.ico', 'extra']
EXTRA_PATH_METADATA = {'extra/favicon.ico': {'path': 'favicon.ico'}}