This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
/
config.py
102 lines (80 loc) · 3.58 KB
/
config.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# Name of the blog
blog_name = 'My Blog'
# Your name (used for copyright info)
author_name = 'the author'
# (Optional) slogan
slogan = 'This is my blog'
# The hostname this site will primarially serve off (used for Atom feeds)
host = 'localhost:8080'
# Selects the theme to use. Theme names correspond to directories under
# the 'themes' directory, containing templates and static content.
theme = 'default'
# List of page templates
page_templates = {
'Theme.html': 'Theme',
'Simple.html': 'Simple',
}
# Defines the URL organization to use for blog postings. Valid substitutions:
# slug - the identifier for the post, derived from the title
# year - the year the post was published in
# month - the month the post was published in
# day - the day the post was published in
post_path_format = '/%(year)d/%(month)02d/%(slug)s'
# A nested list of sidebar menus, for convenience. If this isn't versatile
# enough, you can edit themes/default/base.html instead.
sidebars = [
('Blogroll', [
'<a href="http://blog.notdot.net/">Nick Johnsonz</a>',
'<a href="http://www.billkatz.com/">Bill Katz</a>',
'<a href="http://www.codinghorror.com/blog/">Coding Horror</a>',
'<a href="http://craphound.com/">Craphound</a>',
'<a href="http://www.neopythonic.blogspot.com/">Neopythonic</a>',
'<a href="http://www.schneier.com/blog/">Schneier on Security</a>',
]),
]
# Number of entries per page in indexes.
posts_per_page = 10
# The mime type to serve HTML files as.
html_mime_type = "text/html; charset=utf-8"
# To use disqus for comments, set this to the 'short name' of the disqus forum
# created for the purpose.
disqus_forum = None
# Length (in words) of summaries, by default
summary_length = 200
# If you want to use Google Analytics, enter your 'web property id' here
analytics_id = None
# If you want to use PubSubHubbub, supply the hub URL to use here.
hubbub_hub_url = 'http://pubsubhubbub.appspot.com/'
# If you want to ping Google Sitemap when your sitemap is generated change this to True, else False
# see: http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=34609 for more information
google_sitemap_ping = True
# If you want to use Google Site verification, go to
# https://www.google.com/webmasters/tools/ , add your site, choose the 'upload
# an html file' method, then set the NAME of the file below.
# Note that you do not need to download the file provided - just enter its name
# here.
google_site_verification = None
# Default markup language for entry bodies (defaults to html).
default_markup = 'html'
# Syntax highlighting style for RestructuredText and Markdown,
# one of 'manni', 'perldoc', 'borland', 'colorful', 'default', 'murphy',
# 'vs', 'trac', 'tango', 'fruity', 'autumn', 'bw', 'emacs', 'pastie',
# 'friendly', 'native'.
highlighting_style = 'friendly'
# Absolute url of the blog application use '/blog' for host/blog/
# and '' for host/.Also remember to change app.yaml accordingly
url_prefix = ''
# Defines where the user is defined in the rel="me" of your pages.
# This allows you to expand on your social graph.
rel_me = None
# For use a feed proxy like feedburne.google.com
feed_proxy = None
# To use Google Friends Connect.
# If you want use Google Friends Connect, go to http://www.google.com/friendconnect/
# and register your domain for get a Google Friends connect ID.
google_friends_id = None
google_friends_comments = True # For comments.
google_friends_members = True # For a members container.
# To format the date of your post.
# http://docs.djangoproject.com/en/1.1/ref/templates/builtins/#now
date_format = "d F, Y"