diff --git a/content/images/miniature.png b/content/images/miniature.png new file mode 100644 index 0000000..fac9e8d Binary files /dev/null and b/content/images/miniature.png differ diff --git a/content/pages/index.md b/content/pages/index.md index 885b17e..9b799c3 100644 --- a/content/pages/index.md +++ b/content/pages/index.md @@ -4,7 +4,9 @@ date: 2019-04-22 author: Fabrice Mouhartem Header_Cover: images/cover_home.jpg URL: +og_image: images/miniatures.png save_as: index.html +article_list: true --- I'm Fabrice Mouhartem, and I welcome you to this _blog_, which aims at relieving my brain from the hard task of remembering all sorts of weird stuffs (thus, don't expect me to provide you some fresh original contents). I hope it'll help some of you as well. diff --git a/pelicanconf.py b/pelicanconf.py index 46eaf2f..508d145 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -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