mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-22 16:20:11 +00:00
Theme: Compact: Exclude empty pubs / awards.
This commit is contained in:
parent
d99a99b3dc
commit
05a875b837
@ -129,7 +129,7 @@
|
|||||||
</section>
|
</section>
|
||||||
{% } %}
|
{% } %}
|
||||||
|
|
||||||
{% if( r.publications ) { %}
|
{% if( r.publications && r.publications.length ) { %}
|
||||||
<section id="publications">
|
<section id="publications">
|
||||||
<header>
|
<header>
|
||||||
<h2>Publications</h2><hr>
|
<h2>Publications</h2><hr>
|
||||||
@ -151,7 +151,7 @@
|
|||||||
</section>
|
</section>
|
||||||
{% } %}
|
{% } %}
|
||||||
|
|
||||||
{% if( r.awards ) { %}
|
{% if( r.awards && r.awards.length ) { %}
|
||||||
<section id="awards">
|
<section id="awards">
|
||||||
<header>
|
<header>
|
||||||
<h2>Awards</h2><hr>
|
<h2>Awards</h2><hr>
|
||||||
|
Loading…
Reference in New Issue
Block a user