Ver Fonte

some more plugins, etc

john melesky há 1 ano atrás
pai
commit
af238738d5
1 ficheiros alterados com 15 adições e 2 exclusões
  1. 15 2
      pelicanconf.py

+ 15 - 2
pelicanconf.py

@@ -4,8 +4,8 @@ SITEURL = ''
 
 PATH = 'content'
 ARTICLE_PATHS = ['blog']
-ARTICLE_SAVE_AS = '{date:%Y}/{slug}.html'
-ARTICLE_URL     = '{date:%Y}/{slug}.html'
+ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{date:%d}/{slug}.html'
+ARTICLE_URL     = '{date:%Y}/{date:%m}/{date:%d}/{slug}.html'
 
 TIMEZONE = 'US/Pacific'
 
@@ -15,6 +15,19 @@ THEME = '/home/jmelesky/external_src/pelican-sober'
 
 PLUGINS = ['render_math']
 
+MARKDOWN = {
+    'extensions': [
+        'markdown_captions',
+        'extra',
+        'codehilite',
+        'meta',
+        'sane_lists',
+        'smarty',
+        'legacy_em',
+        'legacy_attrs',
+    ],
+}
+
 # Feed generation is usually not desired when developing
 FEED_ALL_ATOM = None
 CATEGORY_FEED_ATOM = None