From 1cc75384c0b0a970a9791925f869419bb79692f2 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Mon, 13 Mar 2017 22:33:04 -0400 Subject: [PATCH] Fix p.url condition to test for blank and `nil` values --- _includes/cv/basics.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/cv/basics.html b/_includes/cv/basics.html index f5f0b20..b40f698 100644 --- a/_includes/cv/basics.html +++ b/_includes/cv/basics.html @@ -27,11 +27,11 @@ {% endif %} {% if p.username %} - {% if p.url %} + {% unless p.url == '' or p.url == nil %} {{ p.username }} {% else %} {{ p.username }} - {% endif %} + {% endunless %} {% endif %}