mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-22 08:10:10 +00:00
Modern: Exclude empty pubs / awards.
This commit is contained in:
parent
e23a1ed0a4
commit
9552eda254
@ -131,7 +131,7 @@ engine: Underscore
|
|||||||
</section>
|
</section>
|
||||||
{% } %}
|
{% } %}
|
||||||
|
|
||||||
{% if( r.awards ) { %}
|
{% if( r.awards && r.awards.length ) { %}
|
||||||
<hr>
|
<hr>
|
||||||
<section id="awards">
|
<section id="awards">
|
||||||
<header>
|
<header>
|
||||||
@ -146,7 +146,7 @@ engine: Underscore
|
|||||||
</section>
|
</section>
|
||||||
{% } %}
|
{% } %}
|
||||||
|
|
||||||
{% if( r.publications ) { %}
|
{% if( r.publications && r.publications.length ) { %}
|
||||||
<hr>
|
<hr>
|
||||||
<section id="publications">
|
<section id="publications">
|
||||||
<header>
|
<header>
|
||||||
|
Loading…
Reference in New Issue
Block a user