summaryrefslogtreecommitdiff
path: root/site/templates/index.liquid
diff options
context:
space:
mode:
Diffstat (limited to 'site/templates/index.liquid')
-rw-r--r--site/templates/index.liquid24
1 files changed, 16 insertions, 8 deletions
diff --git a/site/templates/index.liquid b/site/templates/index.liquid
index 8797f25..41de3e2 100644
--- a/site/templates/index.liquid
+++ b/site/templates/index.liquid
@@ -87,26 +87,34 @@ WEBSITE BY OKFOCUS, http://okfoc.us, Internet Legends.
<img src="assets/images/2H_WORDMARK.png" class="toplogo">
<div class="cat">RETAIL</div>
<div class="sub">
- {% for project in retail %}
- <a href="/retail/{{ project.id }}" data-image="{{ project.images[0].uri }}">{{ project.shortname }}</a>
+ {% for project in projects %}
+ {% if project.category == 'retail' %}
+ <a href="/retail/{{ project.id }}" data-image="{{ project.images[0].uri }}">{{ project.shortname }}</a>
+ {% endif %}
{% endfor %}
</div>
<div class="cat">advertising</div>
<div class="sub">
- {% for project in advertising %}
- <a href="/advertising/{{ project.id }}">{{ project.shortname || project.title }}</a>
+ {% for project in projects %}
+ {% if project.category == 'advertising' %}
+ <a href="/advertising/{{ project.id }}">{{ project.shortname || project.title }}</a>
+ {% endif %}}
{% endfor %}
</div>
<div class="cat">experiential</div>
<div class="sub">
- {% for project in experiential %}
- <a href="/experiential/{{ project.id }}">{{ project.shortname || project.title }}</a>
+ {% for project in projects %}
+ {% if project.category == 'experiential' %}
+ <a href="/experiential/{{ project.id }}">{{ project.shortname || project.title }}</a>
+ {% endif %}}
{% endfor %}
</div>
<div class="cat">content</div>
<div class="sub">
- {% for project in content %}
- <a href="/content/{{ project.id }}">{{ project.shortname || project.title }}</a>
+ {% for project in projects %}
+ {% if project.category == 'content' %}
+ <a href="/content/{{ project.id }}">{{ project.shortname || project.title }}</a>
+ {% endif %}}
{% endfor %}
</div>
</div>