Modern: Exclude empty pubs / awards.

This commit is contained in:
devlinjd 2015-11-05 11:36:11 -05:00
parent e23a1ed0a4
commit 9552eda254
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ engine: Underscore
</section>
{% } %}
{% if( r.awards ) { %}
{% if( r.awards && r.awards.length ) { %}
<hr>
<section id="awards">
<header>
@ -146,7 +146,7 @@ engine: Underscore
</section>
{% } %}
{% if( r.publications ) { %}
{% if( r.publications && r.publications.length ) { %}
<hr>
<section id="publications">
<header>