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.liquid31
1 files changed, 13 insertions, 18 deletions
diff --git a/site/templates/index.liquid b/site/templates/index.liquid
index 954670a..0bd6b7d 100644
--- a/site/templates/index.liquid
+++ b/site/templates/index.liquid
@@ -85,36 +85,28 @@ WEBSITE BY OKFOCUS, http://okfoc.us, Internet Legends.
<nav>
<div class="top">
<img src="assets/images/2H_WORDMARK.png" class="toplogo">
- <div class="cat">RETAIL</div>
+ <div class="cat">retail</div>
<div class="sub">
- {% for project in projects %}
- {% if project.category == 'retail' %}
- <a href="/retail/{{ project.id }}">{{ project.shortname }}</a>
- {% endif %}
+ {% for project in retails %}
+ <a href="/retail/{{ project.id }}">{{ project.shortname }}</a>
{% endfor %}
</div>
<div class="cat">advertising</div>
<div class="sub">
- {% for project in projects %}
- {% if project.category == 'advertising' %}
- <a href="/advertising/{{ project.id }}">{{ project.shortname }}</a>
- {% endif %}
+ {% for project in advertisings %}
+ <a href="/advertising/{{ project.id }}">{{ project.shortname }}</a>
{% endfor %}
</div>
<div class="cat">experiential</div>
<div class="sub">
- {% for project in projects %}
- {% if project.category == 'experiential' %}
- <a href="/experiential/{{ project.id }}">{{ project.shortname }}</a>
- {% endif %}
+ {% for project in experientials %}
+ <a href="/experiential/{{ project.id }}">{{ project.shortname }}</a>
{% endfor %}
</div>
<div class="cat">content</div>
<div class="sub">
- {% for project in projects %}
- {% if project.category == 'content' %}
- <a href="/content/{{ project.id }}">{{ project.shortname }}</a>
- {% endif %}
+ {% for project in contents %}
+ <a href="/content/{{ project.id }}">{{ project.shortname }}</a>
{% endfor %}
</div>
</div>
@@ -133,7 +125,10 @@ WEBSITE BY OKFOCUS, http://okfoc.us, Internet Legends.
</div>
<script type="text/plain" id="preload-image-list">
-{% for project in projects %}{{ project.images[0].uri }}
+{% for project in retails %}{{ project.images[0].uri }}
+{% endfor %}{% for project in advertisings %}{{ project.images[0].uri }}
+{% endfor %}{% for project in experientials %}{{ project.images[0].uri }}
+{% endfor %}{% for project in contents %}{{ project.images[0].uri }}
{% endfor %}{% for page in pages %}{{ page.image }}
{% endfor %}</script>