-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
39 lines (32 loc) · 1.13 KB
/
settings.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
37
38
39
# -*- coding: utf-8 -*-
AUTHOR = 'Jose Figueroa'
SITENAME = u"Viva la rèsistance"
SITEURL = ''
TIMEZONE = "America/Mexico_City"
THEME = 'theme'
DISQUS_SITENAME = "josefig"
#REVERSE_CATEGORY_ORDER = True
DEFAULT_PAGINATION = 5
RELATIVE_URLS = False
from collections import namedtuple
link = namedtuple('link', ('description','name','url'))
LINKS = (
link('unixmexico', name='Unixmexico', url='http://unixmexico.org'),
link('cofradia', name='Cofradia', url='http://cofradia.org'),
link('hacker', name='Hacker news', url='http://news.ycombinator.com'),
link('ide', name='Ide One',url='http://ideone.com'),
link('jsfiddle', name='Jsfiddle', url='http://jsfiddle.net'),
)
SOCIAL = (('twitter', 'http://twitter.com/el_figueroac'),
('github', 'http://github.com/josefig'),
('facebook', 'http://facebook.com/flako.figueroa')
)
#STATIC_PATHS = ["pictures",]
#FILES_TO_COPY = (('extra/robots.txt','robots.txt'),)
GOOGLE_ANALYTICS = 'UA-30180401-1'
ARTICLE_DIR = 'posts'
ARTICLE_URL = 'posts/{slug}/'
ARTICLE_SAVE_AS = 'posts/{slug}/index.html'
PAGE_URL = '{slug}'
PAGE_SAVE_AS = '{slug}/index.html'
FEED_RSS = 'posts/feed/latest'