From 05a875b837f28348aaab1d4b10fc21eeb66a5fe1 Mon Sep 17 00:00:00 2001 From: devlinjd Date: Thu, 5 Nov 2015 11:21:00 -0500 Subject: [PATCH] Theme: Compact: Exclude empty pubs / awards. --- themes/compact/templates/html.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/compact/templates/html.html b/themes/compact/templates/html.html index 71be053..a7c8f34 100644 --- a/themes/compact/templates/html.html +++ b/themes/compact/templates/html.html @@ -129,7 +129,7 @@ {% } %} -{% if( r.publications ) { %} +{% if( r.publications && r.publications.length ) { %}

Publications


@@ -151,7 +151,7 @@
{% } %} -{% if( r.awards ) { %} +{% if( r.awards && r.awards.length ) { %}

Awards