diff --git a/OliverBooth/Pages/Blog/Index.cshtml b/OliverBooth/Pages/Blog/Index.cshtml index 62dc808..518bab7 100644 --- a/OliverBooth/Pages/Blog/Index.cshtml +++ b/OliverBooth/Pages/Blog/Index.cshtml @@ -23,7 +23,7 @@ {{#if post.enable_comments}} - 0 Comments + Loading comment count … {{/if}}

@@ -39,5 +39,3 @@ {{/if}} - - \ No newline at end of file diff --git a/src/ts/UI.ts b/src/ts/UI.ts index d045a11..8a93c78 100644 --- a/src/ts/UI.ts +++ b/src/ts/UI.ts @@ -10,6 +10,17 @@ class UI { return document.querySelector("#blog-post-template"); } + /** + * Creates a