feat: hide title on front page
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
fragment NodePage on Page {
|
fragment NodePage on Page {
|
||||||
title
|
title
|
||||||
|
isFrontPage
|
||||||
groupPostPage {
|
groupPostPage {
|
||||||
... BuilderSections
|
... BuilderSections
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ defineProps<NodePageFragment>();
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="node-page">
|
<div id="node-page">
|
||||||
<h1 class="font-bold text-4xl">
|
<h1 v-if="!isFrontPage" class="font-bold text-4xl">
|
||||||
{{ title }}
|
{{ title }}
|
||||||
</h1>
|
</h1>
|
||||||
<BuilderSections v-bind="groupPostPage" />
|
<BuilderSections v-bind="groupPostPage" />
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
"postinstall": "pnpm --sequential /postinstall:.*/",
|
"postinstall": "pnpm --sequential /postinstall:.*/",
|
||||||
"postinstall:nuxt": "nuxt prepare",
|
"postinstall:nuxt": "nuxt prepare",
|
||||||
"preview": "nuxt preview",
|
"preview": "nuxt preview",
|
||||||
"release": "pnpm lint && pnpm typecheck && changelogen --noAuthors --release --push",
|
"release": "pnpm lint && changelogen --noAuthors --release --push",
|
||||||
"typecheck": "nuxt typecheck"
|
"typecheck": "nuxt typecheck"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user