-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpelicanconf.py
More file actions
executable file
·63 lines (50 loc) · 1.67 KB
/
pelicanconf.py
File metadata and controls
executable file
·63 lines (50 loc) · 1.67 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Marc Scott'
SITENAME = 'Coding 2 Learn'
SITESUBTITLE = 'Education and Technology Ramblings with a little Politics for good measure.'
SITEURL = 'http://coding2learn.org'
ARTICLE_URL = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}/'
ARTICLE_SAVE_AS = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html'
PATH = 'content'
THEME = 'themes/pelican-octopress-theme'
TIMEZONE = 'Europe/London'
STATIC_PATHS = ['images','docs']
DISPLAY_CATEGORIES_ON_MENU = False
# Title menu options
MENUITEMS = [('Archives', '/archives.html'),
('Blog', 'http://coding2learn.org'),]
NEWEST_FIRST_ARCHIVES = True
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
FEED_DOMAIN = SITEURL
#FEED_BURNER = None
#CATEGORY_FEED_ATOM = None
#TRANSLATION_FEED_ATOM = None
FEED_ALL_ATOM = 'feeds/all.atom.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'
# Blogroll
#LINKS = (('MLH', 'http://mlh.io/'),
# ('YRS', 'https://youngrewiredstate.org'),)
# Social widget
TWITTER_USER = 'coding2learn'
GOOGLE_PLUS_ONE = True
GOOGLE_PLUS_HIDDEN = False
FACEBOOK_LIKE = True
TWITTER_TWEET_BUTTON = True
TWITTER_LATEST_TWEETS = True
TWITTER_FOLLOW_BUTTON = True
TWITTER_TWEET_COUNT = 3
TWITTER_SHOW_REPLIES = 'false'
TWITTER_SHOW_FOLLOWER_COUNT = 'true'
#GITHUB
GITHUB_USER = 'MarcScott'
GITHUB_URL = 'https://github.com/MarcScott'
#SOCIAL = (('Twitter', 'https://twitter.com/BourneToHack'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
PIWIK_URL='www.coding2learn.org/piwik'
# first piwik site is always id 1
PIWIK_SITE_ID=1