Theme: Compact: Exclude empty pubs / awards.

This commit is contained in:
devlinjd 2015-11-05 11:21:00 -05:00
parent d99a99b3dc
commit 05a875b837
1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@
</section>
{% } %}
{% if( r.publications ) { %}
{% if( r.publications && r.publications.length ) { %}
<section id="publications">
<header>
<h2>Publications</h2><hr>
@ -151,7 +151,7 @@
</section>
{% } %}
{% if( r.awards ) { %}
{% if( r.awards && r.awards.length ) { %}
<section id="awards">
<header>
<h2>Awards</h2><hr>