From f45662c276612ebeaef14836e837455254424d91 Mon Sep 17 00:00:00 2001 From: Ryan Stafford Date: Thu, 27 Jun 2024 19:17:38 +0000 Subject: [PATCH] fix template error --- templates/nav.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}