diff --git a/components/BlogStatBox.vue b/components/BlogStatBox.vue index 8be0491..f894e01 100644 --- a/components/BlogStatBox.vue +++ b/components/BlogStatBox.vue @@ -7,9 +7,6 @@ import type { BlogParsedContent } from "@/shared/types"; dayjs.extend(utc); dayjs.extend(tz); -// TODO: make queryContent async so it doesn't delay -// execution of the template - const docs = await queryContent("/blog") .sort({ date: 1 }) .where({ _draft: false }) diff --git a/components/CommitStatBox.vue b/components/CommitStatBox.vue index 0e7d854..756d796 100644 --- a/components/CommitStatBox.vue +++ b/components/CommitStatBox.vue @@ -1,7 +1,4 @@ diff --git a/pages/stories.vue b/pages/stories.vue index 31b4c58..f2d2135 100644 --- a/pages/stories.vue +++ b/pages/stories.vue @@ -1,7 +1,16 @@