1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-22 08:10:10 +00:00

Theme: Compact: Exclude empty pubs / awards.

This commit is contained in:
devlinjd 2015-11-05 11:21:00 -05:00
parent d99a99b3dc
commit 05a875b837

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>