generate month and year archive pages
[Ultimately_Untrue_Thought.git] / pelicanconf.py
index edb94ce..5156680 100644 (file)
@@ -33,7 +33,7 @@ LINKS = (
     ('My Only Path to Power', "https://transwidow.wordpress.com/"),
 )
 
-DEFAULT_PAGINATION = 12
+DEFAULT_PAGINATION = 20
 
 WITH_FUTURE_DATES = False
 
@@ -50,6 +50,8 @@ AUTHOR_URL = 'author/{slug}/'
 AUTHOR_SAVE_AS = 'author/{slug}/index.html'
 ARCHIVES_URL = 'archives'
 ARCHIVES_SAVE_AS = 'archives/index.html'
+YEAR_ARCHIVE_SAVE_AS = '{date:%Y}/index.html'
+MONTH_ARCHIVE_SAVE_AS = '{date:%Y}/{date:%b}/index.html'
 
 PAGINATION_PATTERNS = (
     (1, '{base_name}/', '{base_name}/index.html'),
@@ -58,5 +60,11 @@ PAGINATION_PATTERNS = (
 
 THEME = 'theme'
 
+PLUGIN_PATHS = ["plugins"]
+PLUGINS = ["tag_cloud"]
+
+TAG_CLOUD_STEPS = 6
+TAG_CLOUD_SORTING = "alphabetically"
+
 # Uncomment following line if you want document-relative URLs when developing
 RELATIVE_URLS = True