diff --git a/web/view/home.html.jinja2 b/web/view/home.html.jinja2
index 5a3694f..bafa37e 100755
--- a/web/view/home.html.jinja2
+++ b/web/view/home.html.jinja2
@@ -548,7 +548,7 @@ var configuration = {
slug: '{{ target.slug }}',
name: '{{ target.name }}',
active: true,
- orbit: { a: {{ target.orbit.semimajor }}, b: {{ target.orbit.semiminor }} },
+ orbit: { a: {{ target.orbit.semimajor or 0 }}, b: {{ target.orbit.semiminor or 0 }} },
img: '{{ static('img/target/'~target.slug~'_128.png') }}'
}
{% endfor %}
--
libgit2 0.21.2