summaryrefslogtreecommitdiff
path: root/templates/index.liquid
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.liquid')
-rw-r--r--templates/index.liquid4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/index.liquid b/templates/index.liquid
index bba8945..1cda53b 100644
--- a/templates/index.liquid
+++ b/templates/index.liquid
@@ -74,7 +74,7 @@
{% endif %}
{% endfor %}
</div>
- <div class="bottom {% if project.press %}press{% else %}nopress{% endif %}">
+ <div class="bottom {% if project.press.length %}press{% else %}nopress{% endif %}">
<div class="headings five">
<span>YEAR</span>
<span>CLIENT</span>
@@ -100,6 +100,7 @@
<span class="description">
{{ project.brief }}
</span>
+ {% if project.press.length %}
<span>
<ul>
{% for link in project.press %}
@@ -109,6 +110,7 @@
{% endfor %}
</ul>
</span>
+ {% endif %}
</div>
</div>
</div>