fix it
This commit is contained in:
parent
04006fe616
commit
b3826fd175
@ -3,7 +3,7 @@ const { data: posts } = await useAsyncData("blog-posts", () => {
|
||||
return queryCollection("blog")
|
||||
.select("id", "title", "description", "date", "path", "author")
|
||||
.order("date", "DESC")
|
||||
.where("path", "NOT LIKE", "/blog")
|
||||
.where("path", "<>", "/")
|
||||
.all();
|
||||
});
|
||||
</script>
|
||||
|
||||
@ -18,7 +18,6 @@
|
||||
<NuxtLink to="https://docs.pumpkinmc.org/" external>Docs</NuxtLink>
|
||||
<NuxtLink to="/developers/" external>Developers</NuxtLink>
|
||||
<NuxtLink to="/contributors/" external>Contributors</NuxtLink>
|
||||
<NuxtLink to="/blog/" external>Blog</NuxtLink>
|
||||
</nav>
|
||||
<div class="flex items-center gap-2 justify-end">
|
||||
<a
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<template>
|
||||
<h1>You shouldn't be able to see this!</h1>
|
||||
</template>
|
||||
@ -5,7 +5,7 @@ export default defineContentConfig({
|
||||
collections: {
|
||||
blog: defineCollection({
|
||||
type: "page",
|
||||
source: "blog/*.md",
|
||||
source: "*.md",
|
||||
schema: z.object({
|
||||
hero: property(z.object({})).inherit(
|
||||
"app/components/TitleSection.vue",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user