From a67b1cbc8213cae1bf8ff61581ab4c60147ff7f3 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Wed, 20 Jan 2021 16:13:46 +0100 Subject: Updated theme --- pelicanconf.py | 3 +++ theme/custom/partial/flex.html | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100755 theme/custom/partial/flex.html diff --git a/pelicanconf.py b/pelicanconf.py index a831d59..c4cb715 100755 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -43,6 +43,9 @@ CUSTOM_CSS='theme/custom.css' MAIN_MENU=False COPYRIGHT_NAME="Sébastien Dailly" +THEME_TEMPLATES_OVERRIDES = \ + [ 'theme/custom' ] + LINKS= ( ("git","http://git.chimrod.com") , ) diff --git a/theme/custom/partial/flex.html b/theme/custom/partial/flex.html new file mode 100755 index 0000000..747672b --- /dev/null +++ b/theme/custom/partial/flex.html @@ -0,0 +1,21 @@ +

+{{ + _('Built with %(pelican_url)s', + pelican_url='Pelican') +}} +{% if THEME_COLOR_ENABLE_USER_OVERRIDE %} + | + {{ + _('Switch to the %(dark_url)s | %(light_url)s | %(browser_url)s theme', + dark_url='dark', + light_url='light', + browser_url='browser'|safe) + }} + +{% endif %} +

-- cgit v1.2.3