summaryrefslogtreecommitdiff
path: root/site/templates/all.liquid
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-04-13 18:30:24 -0400
committerJules Laplace <jules@okfoc.us>2015-04-13 18:32:27 -0400
commit58b62a1d76298a568aa0ded39f986477f889b793 (patch)
tree09748866101c59b3c5d4c4ffaa9555210793f81b /site/templates/all.liquid
parentd45f617dc74a07beb352d04537d47a77193f487f (diff)
use type and id for frontend lookups
Diffstat (limited to 'site/templates/all.liquid')
-rw-r--r--site/templates/all.liquid22
1 files changed, 20 insertions, 2 deletions
diff --git a/site/templates/all.liquid b/site/templates/all.liquid
index 852137f..01ddc3a 100644
--- a/site/templates/all.liquid
+++ b/site/templates/all.liquid
@@ -1,6 +1,24 @@
<div class="entry all">
- {% for project in projects %}
- <div class="project" data-id="{{ project.id }}">
+ {% for project in retails %}
+ <div class="project" data-id="{{ project.id }}" data-type="retail">
+ <img src="{{ project.images[0].uri }}">
+ <span>{{ project.shortname }}</span>
+ </div>
+ {% endfor %}
+ {% for project in advertisings %}
+ <div class="project" data-id="{{ project.id }}" data-type="advertising">
+ <img src="{{ project.images[0].uri }}">
+ <span>{{ project.shortname }}</span>
+ </div>
+ {% endfor %}
+ {% for project in experientials %}
+ <div class="project" data-id="{{ project.id }}" data-type="experiential">
+ <img src="{{ project.images[0].uri }}">
+ <span>{{ project.shortname }}</span>
+ </div>
+ {% endfor %}
+ {% for project in contents %}
+ <div class="project" data-id="{{ project.id }}" data-type="content">
<img src="{{ project.images[0].uri }}">
<span>{{ project.shortname }}</span>
</div>