diff options
Diffstat (limited to 'site/templates')
| -rw-r--r-- | site/templates/all.liquid | 22 | ||||
| -rw-r--r-- | site/templates/index.liquid | 8 |
2 files changed, 24 insertions, 6 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> diff --git a/site/templates/index.liquid b/site/templates/index.liquid index 0bd6b7d..19bdf88 100644 --- a/site/templates/index.liquid +++ b/site/templates/index.liquid @@ -88,25 +88,25 @@ WEBSITE BY OKFOCUS, http://okfoc.us, Internet Legends. <div class="cat">retail</div> <div class="sub"> {% for project in retails %} - <a href="/retail/{{ project.id }}">{{ project.shortname }}</a> + <a href="#" data-type="retail" data-id="{{ project.id }}">{{ project.shortname }}</a> {% endfor %} </div> <div class="cat">advertising</div> <div class="sub"> {% for project in advertisings %} - <a href="/advertising/{{ project.id }}">{{ project.shortname }}</a> + <a href="#" data-type="advertising" data-id="{{ project.id }}">{{ project.shortname }}</a> {% endfor %} </div> <div class="cat">experiential</div> <div class="sub"> {% for project in experientials %} - <a href="/experiential/{{ project.id }}">{{ project.shortname }}</a> + <a href="#" data-type="experiential" data-id="{{ project.id }}">{{ project.shortname }}</a> {% endfor %} </div> <div class="cat">content</div> <div class="sub"> {% for project in contents %} - <a href="/content/{{ project.id }}">{{ project.shortname }}</a> + <a href="#" data-type="content" data-id="{{ project.id }}">{{ project.shortname }}</a> {% endfor %} </div> </div> |
