Files: e72e77ac6bb029876e03eff817ce6a03d524aa4d / pelicanconf.py
1782 bytesRaw
1 | #!/usr/bin/env python |
2 | # -*- coding: utf-8 -*- # |
3 | from __future__ import unicode_literals |
4 | |
5 | AUTHOR = 'Greg K Nicholson' |
6 | SITENAME = 'Greg K Nicholson' |
7 | SITEURL = 'http://gkn.me.uk' |
8 | TIMEZONE = 'Europe/London' |
9 | DEFAULT_LANG = 'en' |
10 | LOCALE = 'en_GB.utf8' |
11 | |
12 | PLUGIN_PATHS = ['plugins', 'plugins/pelican-plugins'] |
13 | PLUGINS = [ |
14 | 'dateish', |
15 | 'frontmark', |
16 | 'minification', |
17 | 'neighbors', |
18 | 'pelican_alias', |
19 | 'related_posts', |
20 | 'touch' |
21 | ] |
22 | |
23 | PATH = 'content' |
24 | ARTICLE_EXCLUDES = ['stuff'] |
25 | PAGE_PATHS = ['pages'] |
26 | STATIC_PATHS = [''] |
27 | THEME = 'themes/ran' |
28 | THEME_STATIC_DIR = '' |
29 | |
30 | DELETE_OUTPUT_DIRECTORY = True |
31 | |
32 | SLUGIFY_SOURCE = 'basename' |
33 | ARTICLE_URL = '{slug}' |
34 | ARTICLE_SAVE_AS = '{slug}/index.html' |
35 | |
36 | ARCHIVES_URL = 'entries' |
37 | ARCHIVES_SAVE_AS = 'entries/index.html' |
38 | ARCHIVES_TITLE = 'All entries' |
39 | FEED_ALL_ATOM = 'feed' |
40 | TRANSLATION_FEED_ATOM = None |
41 | |
42 | AUTHOR_URL = 'greg' |
43 | AUTHOR_SAVE_AS = '' |
44 | AUTHOR_FEED_ATOM = None |
45 | AUTHOR_FEED_RSS = None |
46 | AUTHORS_SAVE_AS = '' |
47 | |
48 | CATEGORY_SAVE_AS = '' |
49 | CATEGORY_FEED_ATOM = None |
50 | CATEGORIES_SAVE_AS = '' |
51 | TAG_URL = 'entries/{slug}' |
52 | TAG_SAVE_AS = 'entries/{slug}/index.html' |
53 | TAG_SUBSTITUTIONS = ((' ', ''), ('-', '')) |
54 | TAG_FEED_ATOM = 'entries/%s/feed' |
55 | TAGS_SAVE_AS = '' |
56 | |
57 | YEAR_ARCHIVE_URL = '{date:%Y}' |
58 | YEAR_ARCHIVE_SAVE_AS = '{date:%Y}/index.html' |
59 | MONTH_ARCHIVE_URL = '{date:%Y}/{date:%m}' |
60 | MONTH_ARCHIVE_SAVE_AS = '{date:%Y}/{date:%m}/index.html' |
61 | DAY_ARCHIVE_URL = '{date:%Y}/{date:%m}/{date:%d}' |
62 | DAY_ARCHIVE_SAVE_AS = '{date:%Y}/{date:%m}/{date:%d}/index.html' |
63 | |
64 | DATE_FORMAT_YEAR = '%Y' |
65 | DATE_FORMAT_MONTH = '%B %Y' |
66 | DATE_FORMAT_MONTH_OF_YEAR = '%B' |
67 | DATE_FORMAT_DAY = '%Y-%m-%d' |
68 | DATE_FORMAT_DAY_OF_MONTH = '%d' |
69 | DATE_FORMAT_MINUTE = '%Y-%m-%d %H:%M' |
70 | |
71 | DEFAULT_PAGINATION = False |
72 | JINJA_ENVIRONMENT = {'trim_blocks': True, 'lstrip_blocks': True} |
73 | RELATED_POSTS_MAX = 3 |
74 | TYPOGRIFY = False |
75 | |
76 |
Built with git-ssb-web