diff --git a/internal/theme/twentyfifteen/posts/detail.gohtml b/internal/theme/twentyfifteen/posts/detail.gohtml index 7fdc3af..91a09c1 100644 --- a/internal/theme/twentyfifteen/posts/detail.gohtml +++ b/internal/theme/twentyfifteen/posts/detail.gohtml @@ -1,7 +1,7 @@ {{template "layout/base" .}} {{define "content"}} - {{ if gt .post.Id 0}} + {{ if and .post gt .post.Id 0}}