This commit is contained in:
Alexander Medvedev 2026-02-06 15:04:17 +01:00
parent 04006fe616
commit b3826fd175
7 changed files with 2 additions and 8 deletions

View File

@ -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>

View File

@ -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

View File

@ -1,5 +0,0 @@
<script setup lang="ts"></script>
<template>
<h1>You shouldn't be able to see this!</h1>
</template>

View File

@ -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",