slashful pagination patterns
[Ultimately_Untrue_Thought.git] / pelicanconf.py
index aa5e3f5..1667b97 100644 (file)
@@ -47,6 +47,11 @@ PAGE_SAVE_AS = '{slug}/index.html'
 AUTHOR_URL = 'author/{slug}/'
 AUTHOR_SAVE_AS = 'author/{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'
 
 # Uncomment following line if you want document-relative URLs when developing
 THEME = 'theme'
 
 # Uncomment following line if you want document-relative URLs when developing