From 44a553fb13c37aeacb3b93cebfd3c154f5eaf93a Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 1 Sep 2022 10:53:15 +0200 Subject: Update the template to the last Flex theme. Added the gpg public key --- content/resources/pubkey.asc | 58 ++++++------ pelicanconf.py | 4 +- theme/Flex | 2 +- theme/custom/base.html | 180 +++++--------------------------------- theme/custom/partial/sidebar.html | 98 +++++++++++++++++++++ 5 files changed, 150 insertions(+), 192 deletions(-) create mode 100644 theme/custom/partial/sidebar.html diff --git a/content/resources/pubkey.asc b/content/resources/pubkey.asc index bb86486..e6c101b 100644 --- a/content/resources/pubkey.asc +++ b/content/resources/pubkey.asc @@ -20,43 +20,43 @@ qs53tjCMgYB5nlQPKUY+fnMshGNzmg75VfiY26/reEQwSGDq7GGOpRAea9l5/LP7 V7Xs5rLccnHw1ANpE9jHdUJy7tG5Lf4H/JgLdjAoOFP88Z/r2vxXYLmri/8sxYK2 9Yg5NFIbHaEAObJ3jL5v5hfx2+Jzg3pHDaATl8+FPqxebCsVaeqKLqWTiY13Q0fd ax9bBsuClpfR3k0AEQEAAYkBPAQYAQgAJgIbDBYhBCzgX5zrCyxEKskOPE28H2+v -LwHVBQJfRnaSBQkDwmm9AAoJEE28H2+vLwHVXdoIAK9FH1eF0dnKh1bOVG3oAMH8 -U/xXwAmyPojXQEaTOjNF9RN2GUii/9d9uV7mq4Kz2oUEz6pCY9C4HvCnJkmkkc16 -oWvSCf6pdA+OPKX+D4dEE5axNh83+uLqWa3UTW7a1djOznCE3unwO4D+EgU5wtqv -aNK3Gq2HiJEQnBPx1Tjn7mniE3cnB5s8GIPa+dCMpHoGtL3CJ2oBEE1dWKoLlHiU -t+AhIzgnbQSqniR5hTYgNNmLoJ0/OToYpYKlpgvJj+ul6ZexaUO9036bcA5MN+qM -ZWEGMeGZ36YFkkp9rpW1zVDzeVitPXCw3k4ldChBhJyzO/corEWaIhYfn5zOyl25 +LwHVBQJjDxkoBQkHiwxTAAoJEE28H2+vLwHV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epGnF/Xx7MeJN8j/yXWnV +wOUOM9/YxmQIytrKHemvUs+/URCWcw1WtV8+5aVEqOYv5aEqF0eH2ue85ZfCoblQ +Unkd9KNtXPXtZacECzfr5+isLajtvU+uoQSVKkJcEk1Vf324JfTN81y4AWquGH3h +zmTINbniThBEZgsN3zT7r1dS+uQGCRBNvB9vry8B1djeB/4/EkworAZQ3hlBpZiB +jK7bjy1TtdXrcuRJa0sZGW3ExKBbxS7uMdQ5bpGU+ciRJfst6qWhotQ3H9+6E/Md +dXHis+7k4fC0doMlZXfB0XIgkBHADEuHKbfpv+DbDYjMqpgUzYnIo95n+9gKzkoz +w7wjpBN8lDjNY64DPQ8OkHcAvQb+HvZAUnd5oXYp3I0rK2zvFtyhW8c7d5EDFysK +xpybu6RC07MJ1+VE2qN/avuQAu6IKFI0gY02+6qA2YPNt+tVuWT2OnygNQTS1FAp +XbxtuDISjMsLdLBJtmUJ2xqPV+G0Ta6aKj3Fr3zvBH+sfvc+k+qDACVeveQOlcpw +EW5o +=fC9L -----END PGP PUBLIC KEY BLOCK----- diff --git a/pelicanconf.py b/pelicanconf.py index 9026f97..47af293 100755 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -16,8 +16,8 @@ DEFAULT_LANG = u'fr' # ('You can modify those links in your config file', '#'),) # Social widget -#SOCIAL = (('You can add links in your config file', '#'), -# ('Another social link', '#'),) +SOCIAL = (('key', '/resources/pubkey.asc') + ,) FEED_DOMAIN = SITEURL FEED_RSS = 'feed' diff --git a/theme/Flex b/theme/Flex index cf45bc0..e63fdae 160000 --- a/theme/Flex +++ b/theme/Flex @@ -1 +1 @@ -Subproject commit cf45bc041258cd2696bb1b9a48f0631f9cf20420 +Subproject commit e63fdae267319fdfb5a0788fe2de9e75ce063569 diff --git a/theme/custom/base.html b/theme/custom/base.html index debd12b..da00963 100755 --- a/theme/custom/base.html +++ b/theme/custom/base.html @@ -3,6 +3,7 @@ {{ msg % kwargs }} {%- endmacro -%} {% endif %} + @@ -31,9 +32,9 @@ {% if page in hidden_pages %} - + {% else %} - + {% endif %} {% if USE_GOOGLE_FONTS != False %} @@ -102,38 +103,14 @@ {% endif %} - {% if FEED_ALL_ATOM %} - - {% endif %} - - {% if FEED_ALL_RSS %} - - {% endif %} + {% include "partial/icon.html" %} - {% if FAVICON %} - - - {% endif %} + {% include "partial/color.html" %} - {% if GOOGLE_ANALYTICS %} - {% include "partial/ga.html" %} - {% endif %} - - {% if GOOGLE_GLOBAL_SITE_TAG %} - {% include "partial/ggst.html" %} - {% endif %} + {% include "partial/feed.html" %} - {% if BROWSER_COLOR %} - - - - - - - - - - {% endif %} + {% include "partial/ga.html" %} + {% include "partial/ggst.html" %} {% if not PLUGINS or 'seo' not in PLUGINS %} {% if REL_CANONICAL %} @@ -168,99 +145,15 @@ }); {% endif %} - {% if GOOGLE_TAG_MANAGER %} - {% include "partial/gtm.html" %} - {% endif %} - {% if MICROSOFT_CLARITY %} - {% include "partial/clarity.html" %} - {% endif %} + + {% include "partial/gtm.html" %} + {% include "partial/clarity.html" %} - {% if GOOGLE_TAG_MANAGER %} - {% include "partial/gtm_noscript.html" %} - {% endif %} -
{% if GOOGLE_ADSENSE and GOOGLE_ADSENSE.ads.main_menu %} @@ -272,53 +165,20 @@ {% endif %} - {% if MAIN_MENU %} - - {% endif %} + {% include "partial/nav.html" %} {% block content %} {% endblock %} -
- {% if CC_LICENSE %} - {% include "partial/cc_license.html" %} - {% else %} - {% include "partial/copyright.html" %} - {% endif %} -
+ {% include "partial/footer.html" %}
- {% if GUAGES %} - {% include "partial/guages.html" %} - {% endif %} - - {% if ADD_THIS_ID %} - - {% endif %} - - {% if (PIWIK_URL and PIWIK_SITE_ID) or (MATOMO_URL and MATOMO_SITE_ID) %} - {% include "partial/matomo.html" %} - {% endif %} - {% include "partial/jsonld.html" %} - - {% if GITHUB_CORNER_URL %} - {% include 'partial/github.html' %} - {% endif %} + {% include "partial/guages.html" %} + {% include "partial/addthis.html" %} + {% include "partial/matomo.html" %} + {% include 'partial/github.html' %} + {% include 'partial/stork.html' %} {% block additional_js %}{% endblock %} diff --git a/theme/custom/partial/sidebar.html b/theme/custom/partial/sidebar.html new file mode 100644 index 0000000..e4ae53f --- /dev/null +++ b/theme/custom/partial/sidebar.html @@ -0,0 +1,98 @@ + -- cgit v1.2.3