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