feat: hide title on front page

This commit is contained in:
2026-01-20 10:57:26 -05:00
parent 2d0b176ab8
commit 5e0df227f3
3 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
fragment NodePage on Page {
title
isFrontPage
groupPostPage {
... BuilderSections
}

View File

@@ -6,7 +6,7 @@ defineProps<NodePageFragment>();
<template>
<div id="node-page">
<h1 class="font-bold text-4xl">
<h1 v-if="!isFrontPage" class="font-bold text-4xl">
{{ title }}
</h1>
<BuilderSections v-bind="groupPostPage" />

View File

@@ -12,7 +12,7 @@
"postinstall": "pnpm --sequential /postinstall:.*/",
"postinstall:nuxt": "nuxt prepare",
"preview": "nuxt preview",
"release": "pnpm lint && pnpm typecheck && changelogen --noAuthors --release --push",
"release": "pnpm lint && changelogen --noAuthors --release --push",
"typecheck": "nuxt typecheck"
},
"dependencies": {
@@ -46,4 +46,4 @@
"chore": false
}
}
}
}