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
|
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'webmaster@fsij.org'
SITENAME = u'Free Software Initiative of Japan'
SITESUBTITLE = u'特定非営利活動法人 フリーソフトウェアイニシアティブ'
SITEURL = 'http://www.fsij.org'
SITELOGO= '/images/FSIJ-s.png'
TIMEZONE = 'Asia/Tokyo'
DEFAULT_LANG = u'ja'
# Feed generation
FEED_RSS = 'feeds/rss.xml'
FEED_ALL_RSS = 'feeds/all_rss.xml'
CATEGORY_FEED_RSS = 'feeds/%s_rss.xml'
TRANSLATION_FEED_RSS = None
FEED_MAX_ITEMS=20
# 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', '#'),)
DEFAULT_PAGINATION = 5
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
THEME='theme'
MENUITEMS = (('ARCHIVE', '/archives.html'),)
DISPLAY_PAGES_ON_MENU = False
CATEGORY_MENUITEMS = (
('gnuk', (('Documentation', '/doc-gnuk/'),
('<img src=/theme/images/icons/rss.png />', '/feeds/gnuk_rss.xml'),)),
('news', (('<img src=/theme/images/icons/rss.png />', '/feeds/news_rss.xml'),)),
('monthly-meetings', (('<img src=/theme/images/icons/rss.png />', '/feeds/monthly-meetings_rss.xml'),)),
)
PAGE_MENUITEMS = ((u'これまでの活動', '/pages/historical/INDEX.html'),
(u'そのほか', '/pages/misc/INDEX.html'),)
DEFAULT_DATE_FORMAT = '%Y-%m-%d'
REVERSE_ARCHIVE_ORDER= True
STATIC_PATHS=['images', 'static',
'extra/favicon.ico', 'extra/gitweb-header']
EXTRA_PATH_METADATA = {
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/gitweb-header': {'path': 'gitweb-header'},
}
# Suppress generating author/author[0-9]*.html
# Provides deterministic and specific tag clouds
PLUGIN_PATHS = [ "plugins" ]
PLUGINS = ["site_local"]
# Suppress generating index[0-9]*.html
# authors.html, categories.html, and tags.html
DIRECT_TEMPLATES = ('archives',)
|