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")
|
return queryCollection("blog")
|
||||||
.select("id", "title", "description", "date", "path", "author")
|
.select("id", "title", "description", "date", "path", "author")
|
||||||
.order("date", "DESC")
|
.order("date", "DESC")
|
||||||
.where("path", "NOT LIKE", "/blog")
|
.where("path", "<>", "/")
|
||||||
.all();
|
.all();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -18,7 +18,6 @@
|
|||||||
<NuxtLink to="https://docs.pumpkinmc.org/" external>Docs</NuxtLink>
|
<NuxtLink to="https://docs.pumpkinmc.org/" external>Docs</NuxtLink>
|
||||||
<NuxtLink to="/developers/" external>Developers</NuxtLink>
|
<NuxtLink to="/developers/" external>Developers</NuxtLink>
|
||||||
<NuxtLink to="/contributors/" external>Contributors</NuxtLink>
|
<NuxtLink to="/contributors/" external>Contributors</NuxtLink>
|
||||||
<NuxtLink to="/blog/" external>Blog</NuxtLink>
|
|
||||||
</nav>
|
</nav>
|
||||||
<div class="flex items-center gap-2 justify-end">
|
<div class="flex items-center gap-2 justify-end">
|
||||||
<a
|
<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: {
|
collections: {
|
||||||
blog: defineCollection({
|
blog: defineCollection({
|
||||||
type: "page",
|
type: "page",
|
||||||
source: "blog/*.md",
|
source: "*.md",
|
||||||
schema: z.object({
|
schema: z.object({
|
||||||
hero: property(z.object({})).inherit(
|
hero: property(z.object({})).inherit(
|
||||||
"app/components/TitleSection.vue",
|
"app/components/TitleSection.vue",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user