From b58d3ccdd5f58bc19790581a3989204d1ed927cb Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 12 Apr 2020 11:40:01 +0200 Subject: [PATCH] git --- pelicanconf.py | 5 +++++ themes/dark/templates/sidebar.html | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/pelicanconf.py b/pelicanconf.py index c1a0b70..ec7b92d 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -40,6 +40,11 @@ SITES = ( ('tilde.link', 'https://tilde.link'), ) +GIT = ( +('tildegit.org', 'https://tildegit.org/marc'), +('framagit.org', 'https://framagit.org/marc-beninca'), +) + SOCIAL = ( ('linkedin', 'https://www.linkedin.com/in/marc-beninca'), ) diff --git a/themes/dark/templates/sidebar.html b/themes/dark/templates/sidebar.html index 3e6a8b1..862b1cb 100644 --- a/themes/dark/templates/sidebar.html +++ b/themes/dark/templates/sidebar.html @@ -20,6 +20,13 @@
  • rss
  • {% endif %} +{% if GIT %} + +{% for name, link in GIT %} +
  • {{ name }}
  • +{% endfor %} +{% endif %} + {% if SOCIAL %} {% for name, link in SOCIAL %}