Custom footer

This commit is contained in:
Fabrice Mouhartem 2019-04-22 22:52:17 +05:30
parent dc660f7dce
commit a11e1137c0
2 changed files with 12 additions and 1 deletions

5
myfooter.html Normal file
View File

@ -0,0 +1,5 @@
<p class="copyright text-muted">
Blog powered by <a href="http://getpelican.com">Pelican</a> with (a variant of) <a href="https://github.com/gilsondev/pelican-clean-blog/">clean blog</a> theme,
which take great advantage of <a href="http://python.org">Python</a>. <br />
The source code is available <a href=https://git.epheme.re/fmouhart/blog>here</a>, and the blog relies on <a href="https://matomo.org/">matomo</a> for analytics.
</p>

View File

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