a8d20a9aef95fc34ae37b0c4dca2931e1bdf110f
[Ultimately_Untrue_Thought.git] / pelicanconf.py
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*- #
3 from __future__ import unicode_literals
4
5 AUTHOR = 'M. Taylor Saotome-Westlake'
6 SITENAME = 'The Scintillating But Ultimately Untrue Thought'
7 SITEURL = 'http://unremediatedgender.space'
8
9 PATH = 'content'
10
11 TIMEZONE = 'America/Los_Angeles'
12
13 DEFAULT_LANG = 'en'
14
15 # Feed generation is usually not desired when developing
16 FEED_ALL_ATOM = None
17 CATEGORY_FEED_ATOM = None
18 TRANSLATION_FEED_ATOM = None
19 AUTHOR_FEED_ATOM = None
20 AUTHOR_FEED_RSS = None
21
22 # Blogroll
23 LINKS = (
24     ('On the Science of Changing Sex', "https://sillyolme.wordpress.com/"),
25     ('Survey Anon\'s Gender Blog', "https://surveyanon.wordpress.com/"),
26     ('Crossdreamers', "http://www.crossdreamers.com/"),
27     ('Trans Blog', "http://transblog.grieve-smith.com/"),
28     ('The New Thoughtcrime', "https://newthoughtcrime.com/"),
29     ('Culturally Bound Gender', "https://culturallyboundgender.wordpress.com/"),
30     ('The Trans Widow', "http://thetranswidow.com/"),
31     ('Sex and Gender: A Beginner\'s Guide', "https://sexandgenderintro.com/"),
32 )
33
34 DEFAULT_PAGINATION = 20
35
36 WITH_FUTURE_DATES = False
37
38 FILENAME_METADATA = '(?P<slug>.*)'
39 ARTICLE_URL = '{date:%Y}/{date:%b}/{slug}/'
40 ARTICLE_SAVE_AS = '{date:%Y}/{date:%b}/{slug}/index.html'
41 CATEGORY_URL = 'category/{slug}/'
42 CATEGORY_SAVE_AS = 'category/{slug}/index.html'
43 TAG_URL = 'tag/{slug}/'
44 TAG_SAVE_AS = 'tag/{slug}/index.html'
45 PAGE_URL = '{slug}/'
46 PAGE_SAVE_AS = '{slug}/index.html'
47 AUTHOR_URL = 'author/{slug}/'
48 AUTHOR_SAVE_AS = 'author/{slug}/index.html'
49 ARCHIVES_URL = 'archives'
50 ARCHIVES_SAVE_AS = 'archives/index.html'
51 YEAR_ARCHIVE_SAVE_AS = '{date:%Y}/index.html'
52 MONTH_ARCHIVE_SAVE_AS = '{date:%Y}/{date:%b}/index.html'
53
54 PAGINATION_PATTERNS = (
55     (1, '{base_name}/', '{base_name}/index.html'),
56     (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
57 )
58
59 THEME = 'theme'
60
61 PLUGIN_PATHS = ["plugins"]
62 PLUGINS = ["tag_cloud", "simple_footnotes", "page_hierarchy"]
63
64 TAG_CLOUD_STEPS = 6
65 TAG_CLOUD_SORTING = "alphabetically"
66
67 # Uncomment following line if you want document-relative URLs when developing
68 RELATIVE_URLS = True