feat: switch back to totop default

This commit is contained in:
eggy 2022-08-12 21:07:01 -04:00
parent 1e98ce27a9
commit b5184838cf
5 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
import type { BlogParsedContent } from "@/shared/types"; import type { BlogParsedContent } from "@/shared/types";
useTitle("Blog", "Ramblings and ideas"); useTitle("Blog", "Ramblings and ideas");
//definePageMeta({ layout: "withtop" }); definePageMeta({ layout: "withtop" });
// TODO: paginate stories // TODO: paginate stories
const docs = await queryContent<BlogParsedContent>("/blog") const docs = await queryContent<BlogParsedContent>("/blog")

View File

@ -2,7 +2,7 @@
import Services from "@/components/index/services.vue"; import Services from "@/components/index/services.vue";
import About from "@/components/index/about.vue"; import About from "@/components/index/about.vue";
//definePageMeta({ layout: "withtop" }); definePageMeta({ layout: "withtop" });
useTitle("Home", "Personal website!"); useTitle("Home", "Personal website!");
</script> </script>

View File

@ -2,7 +2,7 @@
import type { StoryParsedContent } from "@/shared/types"; import type { StoryParsedContent } from "@/shared/types";
useTitle("Stories", "Fantasies and worlds"); useTitle("Stories", "Fantasies and worlds");
//definePageMeta({ layout: "withtop" }); definePageMeta({ layout: "withtop" });
// TODO: paginate stories // TODO: paginate stories
const docs = await queryContent<StoryParsedContent>("/stories") const docs = await queryContent<StoryParsedContent>("/stories")

View File

@ -3,7 +3,7 @@ import { tagInfo, type TagData } from "@/data/tagInfo";
import type { BlogParsedContent } from "@/shared/types"; import type { BlogParsedContent } from "@/shared/types";
const route = useRoute(); const route = useRoute();
//definePageMeta({ layout: "withtop" }); definePageMeta({ layout: "withtop" });
const tag = const tag =
typeof route.params.tag === "string" ? route.params.tag : route.params.tag[0]; typeof route.params.tag === "string" ? route.params.tag : route.params.tag[0];

View File

@ -3,7 +3,7 @@ import { tagInfo, type TagData } from "@/data/tagInfo";
import type { StoryParsedContent } from "@/shared/types"; import type { StoryParsedContent } from "@/shared/types";
const route = useRoute(); const route = useRoute();
//definePageMeta({ layout: "withtop" }); definePageMeta({ layout: "withtop" });
const tag = const tag =
typeof route.params.tag === "string" ? route.params.tag : route.params.tag[0]; typeof route.params.tag === "string" ? route.params.tag : route.params.tag[0];