1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-12-23 05:17:22 +00:00

Modern: Exclude empty pubs / awards.

This commit is contained in:
devlinjd 2015-11-05 11:36:11 -05:00
parent e23a1ed0a4
commit 9552eda254

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>