Add recent articles in index.html

This commit is contained in:
2019-04-23 14:12:17 +05:30
parent a39b7891da
commit 8cb1c86af6
3 changed files with 5 additions and 0 deletions

View File

@ -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