From a11e1137c008761621f610ea843f1ad360308073 Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Mon, 22 Apr 2019 22:52:17 +0530 Subject: [PATCH] Custom footer --- myfooter.html | 5 +++++ pelicanconf.py | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 myfooter.html diff --git a/myfooter.html b/myfooter.html new file mode 100644 index 0000000..e1205bf --- /dev/null +++ b/myfooter.html @@ -0,0 +1,5 @@ + diff --git a/pelicanconf.py b/pelicanconf.py index 4638c75..8d071ef 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -1,6 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # from __future__ import unicode_literals +import os AUTHOR = 'Fabrice Mouhartem' SITENAME = 'fmouhart\'s blog' @@ -14,9 +15,14 @@ COLOR_SCHEME_CSS = 'monokai.css' DISPLAY_PAGES_ON_MENU = False DISPLAY_CATEGORIES_ON_MENU = True FAVICON='images/lock.png' +## Footer +FOOTER_INCLUDE = 'myfooter.html' +IGNORE_FILES = [FOOTER_INCLUDE] +EXTRA_TEMPLATES_PATHS = [os.path.dirname(__file__)] +# Static paths PATH = 'content' -STATIC_PATHS = ['images', 'examples'] +STATIC_PATHS = ['images', 'examples',] TIMEZONE = 'Europe/Paris'