prefer relative URLs
[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     ('Third Way Trans', "https://thirdwaytrans.com/"),
28     ('Miranda Yardley', "http://mirandayardley.com/en/"),
29     ('Trans Blog', "http://transblog.grieve-smith.com/"),
30     ('Carey Callahan', "https://careycallahan.com/"),
31     ('Social Justice Wizard', "https://medium.com/@rftbk"),
32     ('Thing of Things', "http://thingofthings.wordpress.com/"),
33     ('Paula Wright', "https://porlawright.com/"),
34     ('Culturally Bound Gender', "https://culturallyboundgender.wordpress.com/"),
35     ('My Only Path to Power', "https://transwidow.wordpress.com/"),
36 )
37
38 DEFAULT_PAGINATION = 20
39
40 WITH_FUTURE_DATES = False
41
42 FILENAME_METADATA = '(?P<slug>.*)'
43 ARTICLE_URL = '{date:%Y}/{date:%b}/{slug}/'
44 ARTICLE_SAVE_AS = '{date:%Y}/{date:%b}/{slug}/index.html'
45 CATEGORY_URL = 'category/{slug}/'
46 CATEGORY_SAVE_AS = 'category/{slug}/index.html'
47 TAG_URL = 'tag/{slug}/'
48 TAG_SAVE_AS = 'tag/{slug}/index.html'
49 PAGE_URL = '{slug}/'
50 PAGE_SAVE_AS = '{slug}/index.html'
51 AUTHOR_URL = 'author/{slug}/'
52 AUTHOR_SAVE_AS = 'author/{slug}/index.html'
53 ARCHIVES_URL = 'archives'
54 ARCHIVES_SAVE_AS = 'archives/index.html'
55 YEAR_ARCHIVE_SAVE_AS = '{date:%Y}/index.html'
56 MONTH_ARCHIVE_SAVE_AS = '{date:%Y}/{date:%b}/index.html'
57
58 PAGINATION_PATTERNS = (
59     (1, '{base_name}/', '{base_name}/index.html'),
60     (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
61 )
62
63 THEME = 'theme'
64
65 PLUGIN_PATHS = ["plugins"]
66 PLUGINS = ["tag_cloud"]
67
68 TAG_CLOUD_STEPS = 6
69 TAG_CLOUD_SORTING = "alphabetically"
70
71 # Uncomment following line if you want document-relative URLs when developing
72 RELATIVE_URLS = True