diff --git a/templates/nav.html b/templates/nav.html
index 74a1dda..85f0075 100644
--- a/templates/nav.html
+++ b/templates/nav.html
@@ -84,7 +84,7 @@
show images
{{- end }}
{{- end }}
- {{- if and .PostID }}{{ $post := (index .Posts 0) }}{{ if $post.CrossPosts }}
+ {{- if and .PostID .Posts }}{{ $post := (index .Posts 0) }}{{ if $post.CrossPosts }}
other discussions ({{ $post.CrossPosts }})
{{- end }}{{ end }}