From 800d8bbdb87301cb5f4e3426ff717646649a927d Mon Sep 17 00:00:00 2001
From: "Andreas Renberg (IQAndreas)"
Date: Wed, 23 Oct 2013 07:37:32 +0200
Subject: [PATCH 1/2] Only include link to source if one has been provided
Not all licenses have provided a `source` property, so this check just
prevent an empty `href` in such cases.
---
_includes/sidebar.html | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/_includes/sidebar.html b/_includes/sidebar.html
index 854a9f2..396c37e 100644
--- a/_includes/sidebar.html
+++ b/_includes/sidebar.html
@@ -12,9 +12,11 @@
{% endif %}
+ {% if page.source %}
+ {% endif %}