diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-04-13 17:57:17 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-04-13 17:57:17 -0400 |
| commit | 34f1ca02bea38e0b7ef185ebf07d3ec6df30f370 (patch) | |
| tree | 234b767a8fef77a7a29ff8d0f519ba462129cb92 /site/templates/index.liquid | |
| parent | 3e255208a9776ad377f3b62d79d982138e89539a (diff) | |
split up the projects by category, add a schema flag so we can use the same singular template
Diffstat (limited to 'site/templates/index.liquid')
| -rw-r--r-- | site/templates/index.liquid | 31 |
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> |
