check in
[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     ('Female Sexual Inversion', "https://femalesexualinversion.blogspot.com/"),
33 )
34
35 DEFAULT_PAGINATION = 20
36
37 WITH_FUTURE_DATES = False
38
39 FILENAME_METADATA = '(?P<slug>.*)'
40 ARTICLE_URL = '{date:%Y}/{date:%b}/{slug}/'
41 ARTICLE_SAVE_AS = '{date:%Y}/{date:%b}/{slug}/index.html'
42 CATEGORY_URL = 'category/{slug}/'
43 CATEGORY_SAVE_AS = 'category/{slug}/index.html'
44 TAG_URL = 'tag/{slug}/'
45 TAG_SAVE_AS = 'tag/{slug}/index.html'
46 PAGE_URL = '{slug}/'
47 PAGE_SAVE_AS = '{slug}/index.html'
48 AUTHOR_URL = 'author/{slug}/'
49 AUTHOR_SAVE_AS = 'author/{slug}/index.html'
50 ARCHIVES_URL = 'archives'
51 ARCHIVES_SAVE_AS = 'archives/index.html'
52 YEAR_ARCHIVE_SAVE_AS = '{date:%Y}/index.html'
53 MONTH_ARCHIVE_SAVE_AS = '{date:%Y}/{date:%b}/index.html'
54
55 PAGINATION_PATTERNS = (
56     (1, '{base_name}/', '{base_name}/index.html'),
57     (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
58 )
59
60 THEME = 'theme'
61
62 PLUGIN_PATHS = ["plugins"]
63 PLUGINS = ["tag_cloud", "simple_footnotes", "page_hierarchy"]
64
65 TAG_CLOUD_STEPS = 6
66 TAG_CLOUD_SORTING = "alphabetically"
67
68 # Uncomment following line if you want document-relative URLs when developing
69 RELATIVE_URLS = True