markdown and toc now properly added
This commit is contained in:
parent
9c1487e4e6
commit
68ef442ecd
@ -3,7 +3,7 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
AUTHOR = u'hbsc'
|
||||
SITENAME = u'homebrewserver.club'
|
||||
SITENAME = u'HOMEBREWSERVER.CLUB'
|
||||
SITEURL = 'https://homebrewserver.club'
|
||||
|
||||
|
||||
@ -24,8 +24,17 @@ DEFAULT_PAGINATION = False
|
||||
#RELATIVE_URLS = True
|
||||
|
||||
PLUGIN_PATHS = ['./plugins']
|
||||
PLUGINS = ['extract_toc','better_figures_and_images', 'summary', 'simple_footnotes'] # ,'pelican-open_graph'] #<-- cant get that one to work
|
||||
MD_EXTENSIONS = ['codehilite', 'extra', 'smarty', 'toc']
|
||||
PLUGINS = ['extract_toc', 'summary'] # ,'pelican-open_graph'] #<-- cant get that one to work
|
||||
MARKDOWN = {'extensions':
|
||||
['markdown.extensions.codehilite',
|
||||
'markdown.extensions.extra',
|
||||
'markdown.extensions.smarty',
|
||||
'markdown.extensions.toc'],
|
||||
'extension_configs':
|
||||
{'markdown.extensions.toc':{
|
||||
'title':'Table Of Contents'}
|
||||
}
|
||||
}
|
||||
|
||||
PATH = '../raw'
|
||||
OUTPUT_PATH = '/var/www/html/'
|
||||
@ -40,10 +49,9 @@ DISPLAY_PAGES_ON_MENU = False
|
||||
DISPLAY_CATEGORIES_ON_MENU = False
|
||||
|
||||
MENUITEMS=(
|
||||
('HOME', '/'),
|
||||
('ABOUT', '/pages/about.html'),
|
||||
('TOPICS', '/categories.html'),
|
||||
('LINKS', '/pages/links.html')
|
||||
)
|
||||
THEME = 'themes/homebrewserver.club'
|
||||
|
||||
RELATIVE_URLS = True
|
||||
|
Loading…
Reference in New Issue
Block a user