slashful pagination patterns
[Ultimately_Untrue_Thought.git] / pelicanconf.py
index f4b9a70..1667b97 100644 (file)
@@ -24,6 +24,7 @@ LINKS = (
     ('On the Science of Changing Sex', "https://sillyolme.wordpress.com/"),
     ('Crossdreamers', "http://www.crossdreamers.com/"),
     ('Third Way Trans', "https://thirdwaytrans.com/"),
+    ('Trans Blog', "http://transblog.grieve-smith.com/"),
     ('Thing of Things', "http://thingofthings.wordpress.com/"),
     ('Words by Maria Catt', "https://mariacatt.com/"),
     ('Culturally Bound Gender', "https://culturallyboundgender.wordpress.com/"),
@@ -37,8 +38,19 @@ WITH_FUTURE_DATES = False
 FILENAME_METADATA = '(?P<slug>.*)'
 ARTICLE_URL = '{date:%Y}/{date:%b}/{slug}/'
 ARTICLE_SAVE_AS = '{date:%Y}/{date:%b}/{slug}/index.html'
+CATEGORY_URL = 'category/{slug}/'
+CATEGORY_SAVE_AS = 'category/{slug}/index.html'
+TAG_URL = 'tag/{slug}/'
+TAG_SAVE_AS = 'tag/{slug}/index.html'
 PAGE_URL = '{slug}/'
 PAGE_SAVE_AS = '{slug}/index.html'
+AUTHOR_URL = 'author/{slug}/'
+AUTHOR_SAVE_AS = 'author/{slug}/index.html'
+
+PAGINATION_PATTERNS = (
+    (1, '{base_name}/', '{base_name}/index.html'),
+    (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
+)
 
 THEME = 'theme'