File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default defineAppConfig({
1717 siteName : 'Nuxt UI Pro - Docs template'
1818 } ,
1919 header : {
20- title : 'Nuxt UI Pro ' ,
20+ title : '' ,
2121 to : '/' ,
2222 logo : {
2323 alt : '' ,
Original file line number Diff line number Diff line change @@ -9,8 +9,7 @@ const { header } = useAppConfig()
99<template >
1010 <UHeader
1111 :ui =" { center: 'flex-1' }"
12- :title =" header?.title"
13- :to =" header?.to"
12+ :to =" header?.to || '/'"
1413 >
1514 <UContentSearchButton
1615 v-if =" header?.search"
@@ -27,15 +26,20 @@ const { header } = useAppConfig()
2726 </UContentSearchButton >
2827
2928 <template
30- v-if =" header ?.logo ?.dark || header ?.logo ?.light "
29+ v-if =" header ?.logo ?.dark || header ?.logo ?.light || header ?. title "
3130 #title
3231 >
3332 <UColorModeImage
33+ v-if =" header?.logo?.dark || header?.logo?.light"
3434 :light =" header?.logo?.light!"
3535 :dark =" header?.logo?.dark!"
3636 :alt =" header?.logo?.alt"
3737 class =" h-6 w-auto shrink-0"
3838 />
39+
40+ <span v-else-if =" header?.title" >
41+ {{ header.title }}
42+ </span >
3943 </template >
4044
4145 <template
You can’t perform that action at this time.
0 commit comments