summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-03-28 16:32:21 -0400
committerJules Laplace <jules@okfoc.us>2016-03-28 16:32:21 -0400
commitdb68967feb8805852b90133062015ea4ef920719 (patch)
treeed4ef1ce5f95e4a67c2fef00cd952b3bdef0d873 /templates
parent53a4752825910cbfd5db7de8a71c2d9a2d4da90f (diff)
fix links field
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 d48e2ea..f8f4144 100644
--- a/templates/index.liquid
+++ b/templates/index.liquid
@@ -59,7 +59,7 @@
<span>{{ project.title }}</span>
<span>
<ul>
- {% assign categories = project.NatureOfWork | split "\n" %}
+ {% assign categories = project.NatureOfWork | newline_to_br | split: '<br />' %}
{% for category in categories %}
<li>
{{ category }}
@@ -72,9 +72,9 @@
</span>
<span>
<ul>
- {% for link in project.links %}
+ {% for link in project.press %}
<li>
- <a href="{{ link.url }}">{{ link.name }}</a>
+ <a href="{{ link.uri }}">{{ link.text }}</a>
</li>
{% endfor %}
</ul>