summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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 %}