feat: copy orig story layout

This commit is contained in:
2022-08-10 13:14:48 -04:00
parent 6f05d95e2c
commit b030a8c832
4 changed files with 51 additions and 6 deletions

View File

@@ -1,11 +1,9 @@
<script setup lang="ts">
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc.js";
import tz from "dayjs/plugin/timezone.js";
import type { BlogParsedContent } from "@/shared/types";
dayjs.extend(utc);
dayjs.extend(tz);
const docs = await queryContent<BlogParsedContent>("/blog")
.sort({ date: 1 })

View File

@@ -1,11 +1,9 @@
<script setup lang="ts">
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc.js";
import tz from "dayjs/plugin/timezone.js";
import { type StoryParsedContent } from "@/shared/types";
dayjs.extend(utc);
dayjs.extend(tz);
const docs = await queryContent<StoryParsedContent>("/stories")
.sort({ date: 1 })