Add recent articles in index.html
This commit is contained in:
@ -14,10 +14,12 @@ COLOR_SCHEME_CSS = 'monokai.css'
|
||||
DISPLAY_PAGES_ON_MENU = False
|
||||
DISPLAY_CATEGORIES_ON_MENU = True
|
||||
FAVICON='images/lock.png'
|
||||
JINJA_ENVIRONMENT = {'trim_blocks': True, 'lstrip_blocks': True, 'extensions' : ('jinja2.ext.loopcontrols',),}
|
||||
## Footer
|
||||
FOOTER_INCLUDE = 'myfooter.html'
|
||||
IGNORE_FILES = [FOOTER_INCLUDE]
|
||||
EXTRA_TEMPLATES_PATHS = [os.path.dirname(__file__)]
|
||||
## Images
|
||||
|
||||
# Static paths
|
||||
PATH = 'content'
|
||||
@ -45,6 +47,7 @@ LINKS = (('Pelican', 'http://getpelican.com/'),
|
||||
SOCIAL = ()
|
||||
|
||||
DEFAULT_PAGINATION = 10
|
||||
PAGE_PAGINATION = 5
|
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing
|
||||
#RELATIVE_URLS = True
|
||||
|
Reference in New Issue
Block a user