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 d0df8b2..a6b1e6e 100644
--- a/templates/index.liquid
+++ b/templates/index.liquid
@@ -106,7 +106,7 @@
<iframe class="cell" src="{{ media.uri }}"></iframe>
{% 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>
@@ -132,6 +132,7 @@
<span class="description">
{{ project.brief }}
</span>
+ {% if project.press.length %}
<span>
<ul>
{% for link in project.press %}
@@ -141,6 +142,7 @@
{% endfor %}
</ul>
</span>
+ {% endif %}
</div>
</div>
</div>