diff --git a/OliverBooth/Pages/Blog/Article.cshtml b/OliverBooth/Pages/Blog/Article.cshtml index 3300621..fed0d99 100644 --- a/OliverBooth/Pages/Blog/Article.cshtml +++ b/OliverBooth/Pages/Blog/Article.cshtml @@ -155,7 +155,13 @@ async> } +} +else +{ +
Comments are not enabled for this post.
+} +@{ int commentCount = BlogPostService.GetLegacyCommentCount(post); if (commentCount > 0) { @@ -206,8 +212,4 @@ } } -} -else -{ -Comments are not enabled for this post.
} \ No newline at end of file