summaryrefslogtreecommitdiff
path: root/templates/index.liquid
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-04-05 17:57:05 -0400
committerJules Laplace <jules@okfoc.us>2016-04-05 17:58:21 -0400
commitc88541abc8a4ec6558a7de7d8c33babe732564d6 (patch)
tree9c7ddeb9f96d9a7ec0f98d1bcef35fb3407c2b54 /templates/index.liquid
parent983d884971880912c015feadfd51c397277d48ad (diff)
gruntfile
Diffstat (limited to 'templates/index.liquid')
-rw-r--r--templates/index.liquid6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/index.liquid b/templates/index.liquid
index 18bbea3..39142cf 100644
--- a/templates/index.liquid
+++ b/templates/index.liquid
@@ -149,7 +149,7 @@
<span>{{ project.year }}</span>
<span>{{ project.client }}</span>
<span>{% if project.alternateTitle %}{{ project.alternateTitle }}{% else %}{{ project.title }}{% endif %}
- <a href="{{project.link}}" class="projectLink">{% if project.linkText %}{{ project.linkText }}{% else %}Launch Site{% endif %}</a>
+ {% if project.link %}<a href="{{project.link}}" target="_blank" class="projectLink">{% if project.linkText %}{{ project.linkText }}{% else %}Launch Site{% endif %}</a>{% endif %}
</span>
<span>
<ul>
@@ -173,11 +173,11 @@
{% if project.press.length %}
<span>
<ul>
- {% for link in project.press %}
+ {% for link in project.press %}{% if link.uri %}
<li>
<a href="{{ link.uri }}">{{ link.text }}</a>
</li>
- {% endfor %}
+ {% endif %}{% endfor %}
</ul>
</span>
{% endif %}