From 9552eda254d3e97b3b1662e830d51a4dc6c8c157 Mon Sep 17 00:00:00 2001 From: devlinjd Date: Thu, 5 Nov 2015 11:36:11 -0500 Subject: [PATCH] Modern: Exclude empty pubs / awards. --- themes/modern/templates/html.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/modern/templates/html.html b/themes/modern/templates/html.html index 85c09ed..b0ecbd5 100644 --- a/themes/modern/templates/html.html +++ b/themes/modern/templates/html.html @@ -131,7 +131,7 @@ engine: Underscore {% } %} -{% if( r.awards ) { %} +{% if( r.awards && r.awards.length ) { %}
@@ -146,7 +146,7 @@ engine: Underscore
{% } %} -{% if( r.publications ) { %} +{% if( r.publications && r.publications.length ) { %}