init stories
This commit is contained in:
@@ -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<BlogParsedContent>("/blog")
|
||||
.sort({ date: 1 })
|
||||
.where({ _draft: false })
|
||||
|
@@ -1,7 +1,4 @@
|
||||
<script setup lang="ts">
|
||||
import dayjs from "dayjs";
|
||||
import utc from "dayjs/plugin/utc.js";
|
||||
import tz from "dayjs/plugin/timezone.js";
|
||||
import type { GithubCommit, GithubPushEvent } from "@/shared/github";
|
||||
import type { Ref } from "vue";
|
||||
|
||||
|
Reference in New Issue
Block a user