From 51068156a652b4f0694bff7ca308d2f1091d00d1 Mon Sep 17 00:00:00 2001 From: Bas van Schaik <5082246+sj@users.noreply.github.com> Date: Sun, 23 May 2021 15:41:59 +0100 Subject: [PATCH 1/2] Only show site version and link to GitHub repo if set in _config.yml --- _includes/sidebar.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 762202aab7b..12c2c25634c 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -25,9 +25,14 @@ {% endif %} {% endfor %} - Download - GitHub project + {% if site.github.repo != null %} + Download + GitHub project + {% endif %} + + {% if site.version != null %} + {% endif %}