summaryrefslogtreecommitdiff
path: root/site/templates
diff options
context:
space:
mode:
Diffstat (limited to 'site/templates')
-rw-r--r--site/templates/index.liquid24
-rw-r--r--site/templates/project.liquid20
2 files changed, 26 insertions, 18 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>
diff --git a/site/templates/project.liquid b/site/templates/project.liquid
index 5e6bc84..583cb09 100644
--- a/site/templates/project.liquid
+++ b/site/templates/project.liquid
@@ -1,22 +1,22 @@
<div class="entry">
<span>
- <span class="postname">{{post.title}}</span>
-
+ <span class="projectname">{{project.title}}</span>
+
<div class="gallery" id="okgallery">
- {% if post.video %}
- <div class="cell video" style="background-image:url({{ post.video.thumb }}" data-video="https://player.vimeo.com/video/{{ post.video.token }}" data-caption="{{ post.video.title }}"></div>
+ {% if project.video %}
+ <div class="cell video" style="background-image:url({{ project.video.thumb }}" data-video="https://player.vimeo.com/video/{{ project.video.token }}" data-caption="{{ project.video.title }}"></div>
{% endif %}
- {% for image in post.images %}
+ {% for image in project.images %}
<div class="cell" data-caption="{{ image.caption }}"><img src="{{ image.uri }}"></div>
{% endfor %}
</div>
<div class="caption"></div>
<div class="content">
- {{ post.description }}
+ {{ project.description }}
</div>
<div class="credit">
- <a href="#"><img src="assets/images/fb2.png"></a>
- <a href="#"><img src="assets/images/tw2.png"></a>
+ <a href="#"><img src="{{static}}/assets/images/fb2.png"></a>
+ <a href="#"><img src="{{static}}/assets/images/tw2.png"></a>
</div>
- </span>
-</div> \ No newline at end of file
+ </span>
+</div>