[{"data":1,"prerenderedAt":4455},["Reactive",2],{"navigation":3,"docs-/document-driven/use-content":164,"docs-/document-driven/use-content-surround":1379},[4,20,45,67,92,102,115],{"title":5,"_path":6,"children":7},"Get Started","/get-started",[8,11,14,17],{"title":9,"_path":10},"Installation","/get-started/installation",{"title":12,"_path":13},"Configuration","/get-started/configuration",{"title":15,"_path":16},"Edge Channel","/get-started/edge-channel",{"title":18,"_path":19},"Migration","/get-started/from-v1",{"title":21,"_path":22,"children":23},"Usage","/usage",[24,27,30,33,36,39,42],{"title":25,"_path":26},"Content Directory","/usage/content-directory",{"title":28,"_path":29},"Markdown","/usage/markdown",{"title":31,"_path":32},"JSON, YAML, CSV","/usage/files",{"title":34,"_path":35},"Render Content","/usage/render",{"title":37,"_path":38},"Search","/usage/search",{"title":40,"_path":41},"Fetch Navigation","/usage/navigation",{"title":43,"_path":44},"TypeScript Support","/usage/typescript",{"title":46,"_path":47,"children":48},"Composables","/composables",[49,52,55,58,61,64],{"title":50,"_path":51},"queryContent()","/composables/query-content",{"title":53,"_path":54},"fetchContentNavigation()","/composables/fetch-content-navigation",{"title":56,"_path":57},"useContentHead()","/composables/use-content-head",{"title":59,"_path":60},"useContentHelpers()","/composables/use-content-helpers",{"title":62,"_path":63},"useUnwrap()","/composables/use-unwrap",{"title":65,"_path":66},"searchContent()","/composables/search-content",{"title":68,"_path":69,"children":70},"Components","/components",[71,74,77,80,83,86,89],{"title":72,"_path":73},"\u003CContentDoc>","/components/content-doc",{"title":75,"_path":76},"\u003CContentRenderer>","/components/content-renderer",{"title":78,"_path":79},"\u003CContentList>","/components/content-list",{"title":81,"_path":82},"\u003CContentNavigation>","/components/content-navigation",{"title":84,"_path":85},"\u003CContentQuery>","/components/content-query",{"title":87,"_path":88},"\u003CContentSlot>","/components/content-slot",{"title":90,"_path":91},"Prose Components","/components/prose",{"title":93,"_path":94,"children":95},"Document Driven","/document-driven",[96,99],{"title":97,"_path":98},"Introduction","/document-driven/introduction",{"title":100,"_path":101},"useContent()","/document-driven/use-content",{"title":103,"_path":104,"children":105},"Recipes","/recipes",[106,109,112],{"title":107,"_path":108},"Hooks","/recipes/hooks",{"title":110,"_path":111},"Transformers","/recipes/transformers",{"title":113,"_path":114},"Sitemap","/recipes/sitemap",{"title":116,"_path":117,"children":118},"V1","/v1",[119,141,154],{"title":120,"_path":121,"children":122},"Getting Started","/v1/getting-started",[123,125,127,130,133,136,138],{"title":97,"_path":124},"/v1/getting-started/introduction",{"title":9,"_path":126},"/v1/getting-started/installation",{"title":128,"_path":129},"Writing content","/v1/getting-started/writing",{"title":131,"_path":132},"Fetching content","/v1/getting-started/fetching",{"title":134,"_path":135},"Displaying content","/v1/getting-started/displaying",{"title":12,"_path":137},"/v1/getting-started/configuration",{"title":139,"_path":140},"Advanced","/v1/getting-started/advanced",{"title":142,"_path":143,"children":144},"Examples","/v1/examples",[145,148,151],{"title":146,"_path":147},"Basic Usage","/v1/examples/basic",{"title":149,"_path":150},"TailwindCSS","/v1/examples/tailwindcss-typography",{"title":152,"_path":153},"Docs Theme","/v1/examples/docs-theme",{"title":155,"_path":156,"children":157},"Community","/v1/community",[158,161],{"title":159,"_path":160},"Snippets","/v1/community/snippets",{"title":162,"_path":163},"Integrations","/v1/community/integrations",{"_path":101,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":100,"description":168,"body":169,"_type":1374,"_id":1375,"_source":1376,"_file":1377,"_extension":1378},"document-driven",false,"","The useContent() composable gives access to the current page, surrounding pages and global data.",{"type":170,"children":171,"toc":1369},"root",[172,187,463,470,475,672,678,1004,1010,1363],{"type":173,"tag":174,"props":175,"children":176},"element","p",{},[177,180,185],{"type":178,"value":179},"text","When the document driven mode is enabled, ",{"type":173,"tag":181,"props":182,"children":183},"code",{"className":167},[184],{"type":178,"value":100},{"type":178,"value":186}," is available everywhere in your app and gives access to a list of refs based on your content.",{"type":173,"tag":188,"props":189,"children":193},"pre",{"className":190,"code":191,"language":192,"meta":167,"style":167},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nconst {\n  // Global references\n  globals,\n  navigation,\n  surround,\n  page,\n  // Computed properties from `page` key\n  excerpt,\n  toc,\n  type,\n  layout,\n  // Computed properties from `surround` key\n  next,\n  prev\n} = useContent()\n\u003C/script>\n","vue",[194],{"type":173,"tag":181,"props":195,"children":196},{"__ignoreMap":167},[197,251,265,275,290,303,316,329,338,351,364,377,390,399,412,421,446],{"type":173,"tag":198,"props":199,"children":202},"span",{"class":200,"line":201},"line",1,[203,209,215,221,226,231,236,242,246],{"type":173,"tag":198,"props":204,"children":206},{"style":205},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[207],{"type":178,"value":208},"\u003C",{"type":173,"tag":198,"props":210,"children":212},{"style":211},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[213],{"type":178,"value":214},"script",{"type":173,"tag":198,"props":216,"children":218},{"style":217},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[219],{"type":178,"value":220}," setup",{"type":173,"tag":198,"props":222,"children":223},{"style":217},[224],{"type":178,"value":225}," lang",{"type":173,"tag":198,"props":227,"children":228},{"style":205},[229],{"type":178,"value":230},"=",{"type":173,"tag":198,"props":232,"children":233},{"style":205},[234],{"type":178,"value":235},"\"",{"type":173,"tag":198,"props":237,"children":239},{"style":238},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[240],{"type":178,"value":241},"ts",{"type":173,"tag":198,"props":243,"children":244},{"style":205},[245],{"type":178,"value":235},{"type":173,"tag":198,"props":247,"children":248},{"style":205},[249],{"type":178,"value":250},">\n",{"type":173,"tag":198,"props":252,"children":254},{"class":200,"line":253},2,[255,260],{"type":173,"tag":198,"props":256,"children":257},{"style":217},[258],{"type":178,"value":259},"const",{"type":173,"tag":198,"props":261,"children":262},{"style":205},[263],{"type":178,"value":264}," {\n",{"type":173,"tag":198,"props":266,"children":268},{"class":200,"line":267},3,[269],{"type":173,"tag":198,"props":270,"children":272},{"style":271},"--shiki-light:#90A4AE;--shiki-default:#546E7A;--shiki-dark:#676E95;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[273],{"type":178,"value":274},"  // Global references\n",{"type":173,"tag":198,"props":276,"children":278},{"class":200,"line":277},4,[279,285],{"type":173,"tag":198,"props":280,"children":282},{"style":281},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[283],{"type":178,"value":284},"  globals",{"type":173,"tag":198,"props":286,"children":287},{"style":205},[288],{"type":178,"value":289},",\n",{"type":173,"tag":198,"props":291,"children":293},{"class":200,"line":292},5,[294,299],{"type":173,"tag":198,"props":295,"children":296},{"style":281},[297],{"type":178,"value":298},"  navigation",{"type":173,"tag":198,"props":300,"children":301},{"style":205},[302],{"type":178,"value":289},{"type":173,"tag":198,"props":304,"children":306},{"class":200,"line":305},6,[307,312],{"type":173,"tag":198,"props":308,"children":309},{"style":281},[310],{"type":178,"value":311},"  surround",{"type":173,"tag":198,"props":313,"children":314},{"style":205},[315],{"type":178,"value":289},{"type":173,"tag":198,"props":317,"children":319},{"class":200,"line":318},7,[320,325],{"type":173,"tag":198,"props":321,"children":322},{"style":281},[323],{"type":178,"value":324},"  page",{"type":173,"tag":198,"props":326,"children":327},{"style":205},[328],{"type":178,"value":289},{"type":173,"tag":198,"props":330,"children":332},{"class":200,"line":331},8,[333],{"type":173,"tag":198,"props":334,"children":335},{"style":271},[336],{"type":178,"value":337},"  // Computed properties from `page` key\n",{"type":173,"tag":198,"props":339,"children":341},{"class":200,"line":340},9,[342,347],{"type":173,"tag":198,"props":343,"children":344},{"style":281},[345],{"type":178,"value":346},"  excerpt",{"type":173,"tag":198,"props":348,"children":349},{"style":205},[350],{"type":178,"value":289},{"type":173,"tag":198,"props":352,"children":354},{"class":200,"line":353},10,[355,360],{"type":173,"tag":198,"props":356,"children":357},{"style":281},[358],{"type":178,"value":359},"  toc",{"type":173,"tag":198,"props":361,"children":362},{"style":205},[363],{"type":178,"value":289},{"type":173,"tag":198,"props":365,"children":367},{"class":200,"line":366},11,[368,373],{"type":173,"tag":198,"props":369,"children":370},{"style":281},[371],{"type":178,"value":372},"  type",{"type":173,"tag":198,"props":374,"children":375},{"style":205},[376],{"type":178,"value":289},{"type":173,"tag":198,"props":378,"children":380},{"class":200,"line":379},12,[381,386],{"type":173,"tag":198,"props":382,"children":383},{"style":281},[384],{"type":178,"value":385},"  layout",{"type":173,"tag":198,"props":387,"children":388},{"style":205},[389],{"type":178,"value":289},{"type":173,"tag":198,"props":391,"children":393},{"class":200,"line":392},13,[394],{"type":173,"tag":198,"props":395,"children":396},{"style":271},[397],{"type":178,"value":398},"  // Computed properties from `surround` key\n",{"type":173,"tag":198,"props":400,"children":402},{"class":200,"line":401},14,[403,408],{"type":173,"tag":198,"props":404,"children":405},{"style":281},[406],{"type":178,"value":407},"  next",{"type":173,"tag":198,"props":409,"children":410},{"style":205},[411],{"type":178,"value":289},{"type":173,"tag":198,"props":413,"children":415},{"class":200,"line":414},15,[416],{"type":173,"tag":198,"props":417,"children":418},{"style":281},[419],{"type":178,"value":420},"  prev\n",{"type":173,"tag":198,"props":422,"children":424},{"class":200,"line":423},16,[425,430,435,441],{"type":173,"tag":198,"props":426,"children":427},{"style":205},[428],{"type":178,"value":429},"}",{"type":173,"tag":198,"props":431,"children":432},{"style":205},[433],{"type":178,"value":434}," =",{"type":173,"tag":198,"props":436,"children":438},{"style":437},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[439],{"type":178,"value":440}," useContent",{"type":173,"tag":198,"props":442,"children":443},{"style":281},[444],{"type":178,"value":445},"()\n",{"type":173,"tag":198,"props":447,"children":449},{"class":200,"line":448},17,[450,455,459],{"type":173,"tag":198,"props":451,"children":452},{"style":205},[453],{"type":178,"value":454},"\u003C/",{"type":173,"tag":198,"props":456,"children":457},{"style":211},[458],{"type":178,"value":214},{"type":173,"tag":198,"props":460,"children":461},{"style":205},[462],{"type":178,"value":250},{"type":173,"tag":464,"props":465,"children":467},"h2",{"id":466},"rendering-the-page",[468],{"type":178,"value":469},"Rendering the page",{"type":173,"tag":174,"props":471,"children":472},{},[473],{"type":178,"value":474},"Rendering the current page becomes a bliss with this composable:",{"type":173,"tag":188,"props":476,"children":479},{"className":190,"code":477,"filename":478,"language":192,"meta":167,"style":167},"\u003Cscript setup lang=\"ts\">\nconst { page } = useContent()\n\u003C/script>\n\n\u003Ctemplate>\n  \u003CContentRenderer :key=\"page._id\" :value=\"page\" />\n\u003C/template>\n","pages/[...slug].vue",[480],{"type":173,"tag":181,"props":481,"children":482},{"__ignoreMap":167},[483,522,555,570,579,595,657],{"type":173,"tag":198,"props":484,"children":485},{"class":200,"line":201},[486,490,494,498,502,506,510,514,518],{"type":173,"tag":198,"props":487,"children":488},{"style":205},[489],{"type":178,"value":208},{"type":173,"tag":198,"props":491,"children":492},{"style":211},[493],{"type":178,"value":214},{"type":173,"tag":198,"props":495,"children":496},{"style":217},[497],{"type":178,"value":220},{"type":173,"tag":198,"props":499,"children":500},{"style":217},[501],{"type":178,"value":225},{"type":173,"tag":198,"props":503,"children":504},{"style":205},[505],{"type":178,"value":230},{"type":173,"tag":198,"props":507,"children":508},{"style":205},[509],{"type":178,"value":235},{"type":173,"tag":198,"props":511,"children":512},{"style":238},[513],{"type":178,"value":241},{"type":173,"tag":198,"props":515,"children":516},{"style":205},[517],{"type":178,"value":235},{"type":173,"tag":198,"props":519,"children":520},{"style":205},[521],{"type":178,"value":250},{"type":173,"tag":198,"props":523,"children":524},{"class":200,"line":253},[525,529,534,539,543,547,551],{"type":173,"tag":198,"props":526,"children":527},{"style":217},[528],{"type":178,"value":259},{"type":173,"tag":198,"props":530,"children":531},{"style":205},[532],{"type":178,"value":533}," {",{"type":173,"tag":198,"props":535,"children":536},{"style":281},[537],{"type":178,"value":538}," page ",{"type":173,"tag":198,"props":540,"children":541},{"style":205},[542],{"type":178,"value":429},{"type":173,"tag":198,"props":544,"children":545},{"style":205},[546],{"type":178,"value":434},{"type":173,"tag":198,"props":548,"children":549},{"style":437},[550],{"type":178,"value":440},{"type":173,"tag":198,"props":552,"children":553},{"style":281},[554],{"type":178,"value":445},{"type":173,"tag":198,"props":556,"children":557},{"class":200,"line":267},[558,562,566],{"type":173,"tag":198,"props":559,"children":560},{"style":205},[561],{"type":178,"value":454},{"type":173,"tag":198,"props":563,"children":564},{"style":211},[565],{"type":178,"value":214},{"type":173,"tag":198,"props":567,"children":568},{"style":205},[569],{"type":178,"value":250},{"type":173,"tag":198,"props":571,"children":572},{"class":200,"line":277},[573],{"type":173,"tag":198,"props":574,"children":576},{"emptyLinePlaceholder":575},true,[577],{"type":178,"value":578},"\n",{"type":173,"tag":198,"props":580,"children":581},{"class":200,"line":292},[582,586,591],{"type":173,"tag":198,"props":583,"children":584},{"style":205},[585],{"type":178,"value":208},{"type":173,"tag":198,"props":587,"children":588},{"style":211},[589],{"type":178,"value":590},"template",{"type":173,"tag":198,"props":592,"children":593},{"style":205},[594],{"type":178,"value":250},{"type":173,"tag":198,"props":596,"children":597},{"class":200,"line":305},[598,603,608,613,617,621,626,630,635,639,643,648,652],{"type":173,"tag":198,"props":599,"children":600},{"style":205},[601],{"type":178,"value":602},"  \u003C",{"type":173,"tag":198,"props":604,"children":605},{"style":211},[606],{"type":178,"value":607},"ContentRenderer",{"type":173,"tag":198,"props":609,"children":610},{"style":217},[611],{"type":178,"value":612}," :key",{"type":173,"tag":198,"props":614,"children":615},{"style":205},[616],{"type":178,"value":230},{"type":173,"tag":198,"props":618,"children":619},{"style":205},[620],{"type":178,"value":235},{"type":173,"tag":198,"props":622,"children":623},{"style":238},[624],{"type":178,"value":625},"page._id",{"type":173,"tag":198,"props":627,"children":628},{"style":205},[629],{"type":178,"value":235},{"type":173,"tag":198,"props":631,"children":632},{"style":217},[633],{"type":178,"value":634}," :value",{"type":173,"tag":198,"props":636,"children":637},{"style":205},[638],{"type":178,"value":230},{"type":173,"tag":198,"props":640,"children":641},{"style":205},[642],{"type":178,"value":235},{"type":173,"tag":198,"props":644,"children":645},{"style":238},[646],{"type":178,"value":647},"page",{"type":173,"tag":198,"props":649,"children":650},{"style":205},[651],{"type":178,"value":235},{"type":173,"tag":198,"props":653,"children":654},{"style":205},[655],{"type":178,"value":656}," />\n",{"type":173,"tag":198,"props":658,"children":659},{"class":200,"line":318},[660,664,668],{"type":173,"tag":198,"props":661,"children":662},{"style":205},[663],{"type":178,"value":454},{"type":173,"tag":198,"props":665,"children":666},{"style":211},[667],{"type":178,"value":590},{"type":173,"tag":198,"props":669,"children":670},{"style":205},[671],{"type":178,"value":250},{"type":173,"tag":464,"props":673,"children":675},{"id":674},"previousnext-page-component",[676],{"type":178,"value":677},"Previous/next page component",{"type":173,"tag":188,"props":679,"children":682},{"className":190,"code":680,"filename":681,"language":192,"meta":167,"style":167},"\u003Cscript setup lang=\"ts\">\nconst { prev, next } = useContent()\n\u003C/script>\n\n\u003Ctemplate>\n  \u003Cdiv>\n    \u003CNuxtLink v-if=\"prev\" :to=\"prev._path\">{{ prev.title }}\u003C/NuxtLink>\n    \u003CNuxtLink v-if=\"next\" :to=\"next._path\">{{ next.title }}\u003C/NuxtLink>\n  \u003C/div>\n\u003C/template>\n","PagePrevNext.vue",[683],{"type":173,"tag":181,"props":684,"children":685},{"__ignoreMap":167},[686,725,767,782,789,804,820,899,973,989],{"type":173,"tag":198,"props":687,"children":688},{"class":200,"line":201},[689,693,697,701,705,709,713,717,721],{"type":173,"tag":198,"props":690,"children":691},{"style":205},[692],{"type":178,"value":208},{"type":173,"tag":198,"props":694,"children":695},{"style":211},[696],{"type":178,"value":214},{"type":173,"tag":198,"props":698,"children":699},{"style":217},[700],{"type":178,"value":220},{"type":173,"tag":198,"props":702,"children":703},{"style":217},[704],{"type":178,"value":225},{"type":173,"tag":198,"props":706,"children":707},{"style":205},[708],{"type":178,"value":230},{"type":173,"tag":198,"props":710,"children":711},{"style":205},[712],{"type":178,"value":235},{"type":173,"tag":198,"props":714,"children":715},{"style":238},[716],{"type":178,"value":241},{"type":173,"tag":198,"props":718,"children":719},{"style":205},[720],{"type":178,"value":235},{"type":173,"tag":198,"props":722,"children":723},{"style":205},[724],{"type":178,"value":250},{"type":173,"tag":198,"props":726,"children":727},{"class":200,"line":253},[728,732,736,741,746,751,755,759,763],{"type":173,"tag":198,"props":729,"children":730},{"style":217},[731],{"type":178,"value":259},{"type":173,"tag":198,"props":733,"children":734},{"style":205},[735],{"type":178,"value":533},{"type":173,"tag":198,"props":737,"children":738},{"style":281},[739],{"type":178,"value":740}," prev",{"type":173,"tag":198,"props":742,"children":743},{"style":205},[744],{"type":178,"value":745},",",{"type":173,"tag":198,"props":747,"children":748},{"style":281},[749],{"type":178,"value":750}," next ",{"type":173,"tag":198,"props":752,"children":753},{"style":205},[754],{"type":178,"value":429},{"type":173,"tag":198,"props":756,"children":757},{"style":205},[758],{"type":178,"value":434},{"type":173,"tag":198,"props":760,"children":761},{"style":437},[762],{"type":178,"value":440},{"type":173,"tag":198,"props":764,"children":765},{"style":281},[766],{"type":178,"value":445},{"type":173,"tag":198,"props":768,"children":769},{"class":200,"line":267},[770,774,778],{"type":173,"tag":198,"props":771,"children":772},{"style":205},[773],{"type":178,"value":454},{"type":173,"tag":198,"props":775,"children":776},{"style":211},[777],{"type":178,"value":214},{"type":173,"tag":198,"props":779,"children":780},{"style":205},[781],{"type":178,"value":250},{"type":173,"tag":198,"props":783,"children":784},{"class":200,"line":277},[785],{"type":173,"tag":198,"props":786,"children":787},{"emptyLinePlaceholder":575},[788],{"type":178,"value":578},{"type":173,"tag":198,"props":790,"children":791},{"class":200,"line":292},[792,796,800],{"type":173,"tag":198,"props":793,"children":794},{"style":205},[795],{"type":178,"value":208},{"type":173,"tag":198,"props":797,"children":798},{"style":211},[799],{"type":178,"value":590},{"type":173,"tag":198,"props":801,"children":802},{"style":205},[803],{"type":178,"value":250},{"type":173,"tag":198,"props":805,"children":806},{"class":200,"line":305},[807,811,816],{"type":173,"tag":198,"props":808,"children":809},{"style":205},[810],{"type":178,"value":602},{"type":173,"tag":198,"props":812,"children":813},{"style":211},[814],{"type":178,"value":815},"div",{"type":173,"tag":198,"props":817,"children":818},{"style":205},[819],{"type":178,"value":250},{"type":173,"tag":198,"props":821,"children":822},{"class":200,"line":318},[823,828,833,838,842,846,851,855,860,864,868,873,877,882,887,891,895],{"type":173,"tag":198,"props":824,"children":825},{"style":205},[826],{"type":178,"value":827},"    \u003C",{"type":173,"tag":198,"props":829,"children":830},{"style":211},[831],{"type":178,"value":832},"NuxtLink",{"type":173,"tag":198,"props":834,"children":835},{"style":217},[836],{"type":178,"value":837}," v-if",{"type":173,"tag":198,"props":839,"children":840},{"style":205},[841],{"type":178,"value":230},{"type":173,"tag":198,"props":843,"children":844},{"style":205},[845],{"type":178,"value":235},{"type":173,"tag":198,"props":847,"children":848},{"style":238},[849],{"type":178,"value":850},"prev",{"type":173,"tag":198,"props":852,"children":853},{"style":205},[854],{"type":178,"value":235},{"type":173,"tag":198,"props":856,"children":857},{"style":217},[858],{"type":178,"value":859}," :to",{"type":173,"tag":198,"props":861,"children":862},{"style":205},[863],{"type":178,"value":230},{"type":173,"tag":198,"props":865,"children":866},{"style":205},[867],{"type":178,"value":235},{"type":173,"tag":198,"props":869,"children":870},{"style":238},[871],{"type":178,"value":872},"prev._path",{"type":173,"tag":198,"props":874,"children":875},{"style":205},[876],{"type":178,"value":235},{"type":173,"tag":198,"props":878,"children":879},{"style":205},[880],{"type":178,"value":881},">",{"type":173,"tag":198,"props":883,"children":884},{"style":281},[885],{"type":178,"value":886},"{{ prev.title }}",{"type":173,"tag":198,"props":888,"children":889},{"style":205},[890],{"type":178,"value":454},{"type":173,"tag":198,"props":892,"children":893},{"style":211},[894],{"type":178,"value":832},{"type":173,"tag":198,"props":896,"children":897},{"style":205},[898],{"type":178,"value":250},{"type":173,"tag":198,"props":900,"children":901},{"class":200,"line":331},[902,906,910,914,918,922,927,931,935,939,943,948,952,956,961,965,969],{"type":173,"tag":198,"props":903,"children":904},{"style":205},[905],{"type":178,"value":827},{"type":173,"tag":198,"props":907,"children":908},{"style":211},[909],{"type":178,"value":832},{"type":173,"tag":198,"props":911,"children":912},{"style":217},[913],{"type":178,"value":837},{"type":173,"tag":198,"props":915,"children":916},{"style":205},[917],{"type":178,"value":230},{"type":173,"tag":198,"props":919,"children":920},{"style":205},[921],{"type":178,"value":235},{"type":173,"tag":198,"props":923,"children":924},{"style":238},[925],{"type":178,"value":926},"next",{"type":173,"tag":198,"props":928,"children":929},{"style":205},[930],{"type":178,"value":235},{"type":173,"tag":198,"props":932,"children":933},{"style":217},[934],{"type":178,"value":859},{"type":173,"tag":198,"props":936,"children":937},{"style":205},[938],{"type":178,"value":230},{"type":173,"tag":198,"props":940,"children":941},{"style":205},[942],{"type":178,"value":235},{"type":173,"tag":198,"props":944,"children":945},{"style":238},[946],{"type":178,"value":947},"next._path",{"type":173,"tag":198,"props":949,"children":950},{"style":205},[951],{"type":178,"value":235},{"type":173,"tag":198,"props":953,"children":954},{"style":205},[955],{"type":178,"value":881},{"type":173,"tag":198,"props":957,"children":958},{"style":281},[959],{"type":178,"value":960},"{{ next.title }}",{"type":173,"tag":198,"props":962,"children":963},{"style":205},[964],{"type":178,"value":454},{"type":173,"tag":198,"props":966,"children":967},{"style":211},[968],{"type":178,"value":832},{"type":173,"tag":198,"props":970,"children":971},{"style":205},[972],{"type":178,"value":250},{"type":173,"tag":198,"props":974,"children":975},{"class":200,"line":340},[976,981,985],{"type":173,"tag":198,"props":977,"children":978},{"style":205},[979],{"type":178,"value":980},"  \u003C/",{"type":173,"tag":198,"props":982,"children":983},{"style":211},[984],{"type":178,"value":815},{"type":173,"tag":198,"props":986,"children":987},{"style":205},[988],{"type":178,"value":250},{"type":173,"tag":198,"props":990,"children":991},{"class":200,"line":353},[992,996,1000],{"type":173,"tag":198,"props":993,"children":994},{"style":205},[995],{"type":178,"value":454},{"type":173,"tag":198,"props":997,"children":998},{"style":211},[999],{"type":178,"value":590},{"type":173,"tag":198,"props":1001,"children":1002},{"style":205},[1003],{"type":178,"value":250},{"type":173,"tag":464,"props":1005,"children":1007},{"id":1006},"table-of-contents-component",[1008],{"type":178,"value":1009},"Table of Contents component",{"type":173,"tag":188,"props":1011,"children":1014},{"className":190,"code":1012,"filename":1013,"language":192,"meta":167,"style":167},"\u003Cscript setup lang=\"ts\">\nconst { toc } = useContent()\n\u003C/script>\n\n\u003Ctemplate>\n  \u003Cdiv>\n    \u003Cul v-if=\"toc && toc.links\">\n      \u003Cli v-for=\"link in toc.links\" :key=\"link.text\">\n        \u003Ca :href=\"`#${link.id}`\">\n          {{ link.text }}\n        \u003C/a>\n      \u003C/li>\n    \u003C/ul>\n  \u003C/div>\n\u003C/template>\n","PageToc.vue",[1015],{"type":173,"tag":181,"props":1016,"children":1017},{"__ignoreMap":167},[1018,1057,1089,1104,1111,1126,1141,1178,1238,1277,1285,1301,1317,1333,1348],{"type":173,"tag":198,"props":1019,"children":1020},{"class":200,"line":201},[1021,1025,1029,1033,1037,1041,1045,1049,1053],{"type":173,"tag":198,"props":1022,"children":1023},{"style":205},[1024],{"type":178,"value":208},{"type":173,"tag":198,"props":1026,"children":1027},{"style":211},[1028],{"type":178,"value":214},{"type":173,"tag":198,"props":1030,"children":1031},{"style":217},[1032],{"type":178,"value":220},{"type":173,"tag":198,"props":1034,"children":1035},{"style":217},[1036],{"type":178,"value":225},{"type":173,"tag":198,"props":1038,"children":1039},{"style":205},[1040],{"type":178,"value":230},{"type":173,"tag":198,"props":1042,"children":1043},{"style":205},[1044],{"type":178,"value":235},{"type":173,"tag":198,"props":1046,"children":1047},{"style":238},[1048],{"type":178,"value":241},{"type":173,"tag":198,"props":1050,"children":1051},{"style":205},[1052],{"type":178,"value":235},{"type":173,"tag":198,"props":1054,"children":1055},{"style":205},[1056],{"type":178,"value":250},{"type":173,"tag":198,"props":1058,"children":1059},{"class":200,"line":253},[1060,1064,1068,1073,1077,1081,1085],{"type":173,"tag":198,"props":1061,"children":1062},{"style":217},[1063],{"type":178,"value":259},{"type":173,"tag":198,"props":1065,"children":1066},{"style":205},[1067],{"type":178,"value":533},{"type":173,"tag":198,"props":1069,"children":1070},{"style":281},[1071],{"type":178,"value":1072}," toc ",{"type":173,"tag":198,"props":1074,"children":1075},{"style":205},[1076],{"type":178,"value":429},{"type":173,"tag":198,"props":1078,"children":1079},{"style":205},[1080],{"type":178,"value":434},{"type":173,"tag":198,"props":1082,"children":1083},{"style":437},[1084],{"type":178,"value":440},{"type":173,"tag":198,"props":1086,"children":1087},{"style":281},[1088],{"type":178,"value":445},{"type":173,"tag":198,"props":1090,"children":1091},{"class":200,"line":267},[1092,1096,1100],{"type":173,"tag":198,"props":1093,"children":1094},{"style":205},[1095],{"type":178,"value":454},{"type":173,"tag":198,"props":1097,"children":1098},{"style":211},[1099],{"type":178,"value":214},{"type":173,"tag":198,"props":1101,"children":1102},{"style":205},[1103],{"type":178,"value":250},{"type":173,"tag":198,"props":1105,"children":1106},{"class":200,"line":277},[1107],{"type":173,"tag":198,"props":1108,"children":1109},{"emptyLinePlaceholder":575},[1110],{"type":178,"value":578},{"type":173,"tag":198,"props":1112,"children":1113},{"class":200,"line":292},[1114,1118,1122],{"type":173,"tag":198,"props":1115,"children":1116},{"style":205},[1117],{"type":178,"value":208},{"type":173,"tag":198,"props":1119,"children":1120},{"style":211},[1121],{"type":178,"value":590},{"type":173,"tag":198,"props":1123,"children":1124},{"style":205},[1125],{"type":178,"value":250},{"type":173,"tag":198,"props":1127,"children":1128},{"class":200,"line":305},[1129,1133,1137],{"type":173,"tag":198,"props":1130,"children":1131},{"style":205},[1132],{"type":178,"value":602},{"type":173,"tag":198,"props":1134,"children":1135},{"style":211},[1136],{"type":178,"value":815},{"type":173,"tag":198,"props":1138,"children":1139},{"style":205},[1140],{"type":178,"value":250},{"type":173,"tag":198,"props":1142,"children":1143},{"class":200,"line":318},[1144,1148,1153,1157,1161,1165,1170,1174],{"type":173,"tag":198,"props":1145,"children":1146},{"style":205},[1147],{"type":178,"value":827},{"type":173,"tag":198,"props":1149,"children":1150},{"style":211},[1151],{"type":178,"value":1152},"ul",{"type":173,"tag":198,"props":1154,"children":1155},{"style":217},[1156],{"type":178,"value":837},{"type":173,"tag":198,"props":1158,"children":1159},{"style":205},[1160],{"type":178,"value":230},{"type":173,"tag":198,"props":1162,"children":1163},{"style":205},[1164],{"type":178,"value":235},{"type":173,"tag":198,"props":1166,"children":1167},{"style":238},[1168],{"type":178,"value":1169},"toc && toc.links",{"type":173,"tag":198,"props":1171,"children":1172},{"style":205},[1173],{"type":178,"value":235},{"type":173,"tag":198,"props":1175,"children":1176},{"style":205},[1177],{"type":178,"value":250},{"type":173,"tag":198,"props":1179,"children":1180},{"class":200,"line":331},[1181,1186,1191,1196,1200,1204,1209,1213,1217,1221,1225,1230,1234],{"type":173,"tag":198,"props":1182,"children":1183},{"style":205},[1184],{"type":178,"value":1185},"      \u003C",{"type":173,"tag":198,"props":1187,"children":1188},{"style":211},[1189],{"type":178,"value":1190},"li",{"type":173,"tag":198,"props":1192,"children":1193},{"style":217},[1194],{"type":178,"value":1195}," v-for",{"type":173,"tag":198,"props":1197,"children":1198},{"style":205},[1199],{"type":178,"value":230},{"type":173,"tag":198,"props":1201,"children":1202},{"style":205},[1203],{"type":178,"value":235},{"type":173,"tag":198,"props":1205,"children":1206},{"style":238},[1207],{"type":178,"value":1208},"link in toc.links",{"type":173,"tag":198,"props":1210,"children":1211},{"style":205},[1212],{"type":178,"value":235},{"type":173,"tag":198,"props":1214,"children":1215},{"style":217},[1216],{"type":178,"value":612},{"type":173,"tag":198,"props":1218,"children":1219},{"style":205},[1220],{"type":178,"value":230},{"type":173,"tag":198,"props":1222,"children":1223},{"style":205},[1224],{"type":178,"value":235},{"type":173,"tag":198,"props":1226,"children":1227},{"style":238},[1228],{"type":178,"value":1229},"link.text",{"type":173,"tag":198,"props":1231,"children":1232},{"style":205},[1233],{"type":178,"value":235},{"type":173,"tag":198,"props":1235,"children":1236},{"style":205},[1237],{"type":178,"value":250},{"type":173,"tag":198,"props":1239,"children":1240},{"class":200,"line":340},[1241,1246,1251,1256,1260,1264,1269,1273],{"type":173,"tag":198,"props":1242,"children":1243},{"style":205},[1244],{"type":178,"value":1245},"        \u003C",{"type":173,"tag":198,"props":1247,"children":1248},{"style":211},[1249],{"type":178,"value":1250},"a",{"type":173,"tag":198,"props":1252,"children":1253},{"style":217},[1254],{"type":178,"value":1255}," :href",{"type":173,"tag":198,"props":1257,"children":1258},{"style":205},[1259],{"type":178,"value":230},{"type":173,"tag":198,"props":1261,"children":1262},{"style":205},[1263],{"type":178,"value":235},{"type":173,"tag":198,"props":1265,"children":1266},{"style":238},[1267],{"type":178,"value":1268},"`#${link.id}`",{"type":173,"tag":198,"props":1270,"children":1271},{"style":205},[1272],{"type":178,"value":235},{"type":173,"tag":198,"props":1274,"children":1275},{"style":205},[1276],{"type":178,"value":250},{"type":173,"tag":198,"props":1278,"children":1279},{"class":200,"line":353},[1280],{"type":173,"tag":198,"props":1281,"children":1282},{"style":281},[1283],{"type":178,"value":1284},"          {{ link.text }}\n",{"type":173,"tag":198,"props":1286,"children":1287},{"class":200,"line":366},[1288,1293,1297],{"type":173,"tag":198,"props":1289,"children":1290},{"style":205},[1291],{"type":178,"value":1292},"        \u003C/",{"type":173,"tag":198,"props":1294,"children":1295},{"style":211},[1296],{"type":178,"value":1250},{"type":173,"tag":198,"props":1298,"children":1299},{"style":205},[1300],{"type":178,"value":250},{"type":173,"tag":198,"props":1302,"children":1303},{"class":200,"line":379},[1304,1309,1313],{"type":173,"tag":198,"props":1305,"children":1306},{"style":205},[1307],{"type":178,"value":1308},"      \u003C/",{"type":173,"tag":198,"props":1310,"children":1311},{"style":211},[1312],{"type":178,"value":1190},{"type":173,"tag":198,"props":1314,"children":1315},{"style":205},[1316],{"type":178,"value":250},{"type":173,"tag":198,"props":1318,"children":1319},{"class":200,"line":392},[1320,1325,1329],{"type":173,"tag":198,"props":1321,"children":1322},{"style":205},[1323],{"type":178,"value":1324},"    \u003C/",{"type":173,"tag":198,"props":1326,"children":1327},{"style":211},[1328],{"type":178,"value":1152},{"type":173,"tag":198,"props":1330,"children":1331},{"style":205},[1332],{"type":178,"value":250},{"type":173,"tag":198,"props":1334,"children":1335},{"class":200,"line":401},[1336,1340,1344],{"type":173,"tag":198,"props":1337,"children":1338},{"style":205},[1339],{"type":178,"value":980},{"type":173,"tag":198,"props":1341,"children":1342},{"style":211},[1343],{"type":178,"value":815},{"type":173,"tag":198,"props":1345,"children":1346},{"style":205},[1347],{"type":178,"value":250},{"type":173,"tag":198,"props":1349,"children":1350},{"class":200,"line":414},[1351,1355,1359],{"type":173,"tag":198,"props":1352,"children":1353},{"style":205},[1354],{"type":178,"value":454},{"type":173,"tag":198,"props":1356,"children":1357},{"style":211},[1358],{"type":178,"value":590},{"type":173,"tag":198,"props":1360,"children":1361},{"style":205},[1362],{"type":178,"value":250},{"type":173,"tag":1364,"props":1365,"children":1366},"style",{},[1367],{"type":178,"value":1368},"html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":167,"searchDepth":253,"depth":253,"links":1370},[1371,1372,1373],{"id":466,"depth":253,"text":469},{"id":674,"depth":253,"text":677},{"id":1006,"depth":253,"text":1009},"markdown","content:5.document-driven:2.use-content.md","content","5.document-driven/2.use-content.md","md",[1380,3541],{"_path":98,"_dir":165,"_draft":166,"_partial":166,"_locale":167,"title":97,"description":1381,"body":1382,"_type":1374,"_id":3539,"_source":1376,"_file":3540,"_extension":1378},"The Document-driven mode gives a lot more power to Markdown-based websites.",{"type":170,"children":1383,"toc":3522},[1384,1400,1406,1413,1436,1567,1573,1578,1665,1677,1683,1697,1711,1719,1731,1737,1742,1754,1765,1770,1843,1854,1859,1929,1935,1940,1996,2008,2024,2148,2178,2184,2198,2220,2253,2411,2417,2422,2440,2679,2697,2714,2763,2768,2774,2785,2791,2821,2926,2932,2943,3100,3106,3123,3323,3518],{"type":173,"tag":1385,"props":1386,"children":1387},"callout",{},[1388],{"type":173,"tag":174,"props":1389,"children":1390},{},[1391,1393,1398],{"type":178,"value":1392},"Note that this mode is still experimental and may break in the future. We are considering a more stable API for the future leveraging ",{"type":173,"tag":181,"props":1394,"children":1395},{"className":167},[1396],{"type":178,"value":1397},"pages/*.md",{"type":178,"value":1399}," files.",{"type":173,"tag":464,"props":1401,"children":1403},{"id":1402},"enable-the-mode",[1404],{"type":178,"value":1405},"Enable the mode",{"type":173,"tag":1407,"props":1408,"children":1410},"h3",{"id":1409},"existing-project",[1411],{"type":178,"value":1412},"Existing project",{"type":173,"tag":174,"props":1414,"children":1415},{},[1416,1418,1427,1429,1434],{"type":178,"value":1417},"Add the ",{"type":173,"tag":1250,"props":1419,"children":1421},{"href":1420},"/get-started/configuration#documentdriven",[1422],{"type":173,"tag":181,"props":1423,"children":1424},{"className":167},[1425],{"type":178,"value":1426},"documentDriven",{"type":178,"value":1428}," option in the ",{"type":173,"tag":181,"props":1430,"children":1431},{"className":167},[1432],{"type":178,"value":1433},"nuxt.config",{"type":178,"value":1435},":",{"type":173,"tag":188,"props":1437,"children":1440},{"code":1438,"language":241,"meta":167,"className":1439,"style":167},"export default defineNuxtConfig({\n  modules: ['@nuxt/content'],\n  content: {\n    documentDriven: true\n  }\n})\n","language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[1441],{"type":173,"tag":181,"props":1442,"children":1443},{"__ignoreMap":167},[1444,1473,1513,1529,1547,1555],{"type":173,"tag":198,"props":1445,"children":1446},{"class":200,"line":201},[1447,1453,1458,1463,1468],{"type":173,"tag":198,"props":1448,"children":1450},{"style":1449},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[1451],{"type":178,"value":1452},"export",{"type":173,"tag":198,"props":1454,"children":1455},{"style":1449},[1456],{"type":178,"value":1457}," default",{"type":173,"tag":198,"props":1459,"children":1460},{"style":437},[1461],{"type":178,"value":1462}," defineNuxtConfig",{"type":173,"tag":198,"props":1464,"children":1465},{"style":281},[1466],{"type":178,"value":1467},"(",{"type":173,"tag":198,"props":1469,"children":1470},{"style":205},[1471],{"type":178,"value":1472},"{\n",{"type":173,"tag":198,"props":1474,"children":1475},{"class":200,"line":253},[1476,1481,1485,1490,1495,1500,1504,1509],{"type":173,"tag":198,"props":1477,"children":1478},{"style":211},[1479],{"type":178,"value":1480},"  modules",{"type":173,"tag":198,"props":1482,"children":1483},{"style":205},[1484],{"type":178,"value":1435},{"type":173,"tag":198,"props":1486,"children":1487},{"style":281},[1488],{"type":178,"value":1489}," [",{"type":173,"tag":198,"props":1491,"children":1492},{"style":205},[1493],{"type":178,"value":1494},"'",{"type":173,"tag":198,"props":1496,"children":1497},{"style":238},[1498],{"type":178,"value":1499},"@nuxt/content",{"type":173,"tag":198,"props":1501,"children":1502},{"style":205},[1503],{"type":178,"value":1494},{"type":173,"tag":198,"props":1505,"children":1506},{"style":281},[1507],{"type":178,"value":1508},"]",{"type":173,"tag":198,"props":1510,"children":1511},{"style":205},[1512],{"type":178,"value":289},{"type":173,"tag":198,"props":1514,"children":1515},{"class":200,"line":267},[1516,1521,1525],{"type":173,"tag":198,"props":1517,"children":1518},{"style":211},[1519],{"type":178,"value":1520},"  content",{"type":173,"tag":198,"props":1522,"children":1523},{"style":205},[1524],{"type":178,"value":1435},{"type":173,"tag":198,"props":1526,"children":1527},{"style":205},[1528],{"type":178,"value":264},{"type":173,"tag":198,"props":1530,"children":1531},{"class":200,"line":277},[1532,1537,1541],{"type":173,"tag":198,"props":1533,"children":1534},{"style":211},[1535],{"type":178,"value":1536},"    documentDriven",{"type":173,"tag":198,"props":1538,"children":1539},{"style":205},[1540],{"type":178,"value":1435},{"type":173,"tag":198,"props":1542,"children":1544},{"style":1543},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[1545],{"type":178,"value":1546}," true\n",{"type":173,"tag":198,"props":1548,"children":1549},{"class":200,"line":292},[1550],{"type":173,"tag":198,"props":1551,"children":1552},{"style":205},[1553],{"type":178,"value":1554},"  }\n",{"type":173,"tag":198,"props":1556,"children":1557},{"class":200,"line":305},[1558,1562],{"type":173,"tag":198,"props":1559,"children":1560},{"style":205},[1561],{"type":178,"value":429},{"type":173,"tag":198,"props":1563,"children":1564},{"style":281},[1565],{"type":178,"value":1566},")\n",{"type":173,"tag":1407,"props":1568,"children":1570},{"id":1569},"fresh-project",[1571],{"type":178,"value":1572},"Fresh project",{"type":173,"tag":174,"props":1574,"children":1575},{},[1576],{"type":178,"value":1577},"Start a new project with the document-driven mode enabled:",{"type":173,"tag":1579,"props":1580,"children":1581},"code-group",{},[1582,1625],{"type":173,"tag":188,"props":1583,"children":1588},{"code":1584,"filename":1585,"language":1586,"meta":167,"className":1587,"style":167},"npx nuxi init doc-driven-app -t doc-driven\n","npx","bash","language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[1589],{"type":173,"tag":181,"props":1590,"children":1591},{"__ignoreMap":167},[1592],{"type":173,"tag":198,"props":1593,"children":1594},{"class":200,"line":201},[1595,1600,1605,1610,1615,1620],{"type":173,"tag":198,"props":1596,"children":1598},{"style":1597},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1599],{"type":178,"value":1585},{"type":173,"tag":198,"props":1601,"children":1602},{"style":238},[1603],{"type":178,"value":1604}," nuxi",{"type":173,"tag":198,"props":1606,"children":1607},{"style":238},[1608],{"type":178,"value":1609}," init",{"type":173,"tag":198,"props":1611,"children":1612},{"style":238},[1613],{"type":178,"value":1614}," doc-driven-app",{"type":173,"tag":198,"props":1616,"children":1617},{"style":238},[1618],{"type":178,"value":1619}," -t",{"type":173,"tag":198,"props":1621,"children":1622},{"style":238},[1623],{"type":178,"value":1624}," doc-driven\n",{"type":173,"tag":188,"props":1626,"children":1629},{"code":1627,"filename":1628,"language":1586,"meta":167,"className":1587,"style":167},"pnpm dlx nuxi init doc-driven-app -t doc-driven\n","pnpm",[1630],{"type":173,"tag":181,"props":1631,"children":1632},{"__ignoreMap":167},[1633],{"type":173,"tag":198,"props":1634,"children":1635},{"class":200,"line":201},[1636,1640,1645,1649,1653,1657,1661],{"type":173,"tag":198,"props":1637,"children":1638},{"style":1597},[1639],{"type":178,"value":1628},{"type":173,"tag":198,"props":1641,"children":1642},{"style":238},[1643],{"type":178,"value":1644}," dlx",{"type":173,"tag":198,"props":1646,"children":1647},{"style":238},[1648],{"type":178,"value":1604},{"type":173,"tag":198,"props":1650,"children":1651},{"style":238},[1652],{"type":178,"value":1609},{"type":173,"tag":198,"props":1654,"children":1655},{"style":238},[1656],{"type":178,"value":1614},{"type":173,"tag":198,"props":1658,"children":1659},{"style":238},[1660],{"type":178,"value":1619},{"type":173,"tag":198,"props":1662,"children":1663},{"style":238},[1664],{"type":178,"value":1624},{"type":173,"tag":174,"props":1666,"children":1667},{},[1668,1670,1675],{"type":178,"value":1669},"You can also use an object to configure the behavior of the mode, checkout the ",{"type":173,"tag":1250,"props":1671,"children":1672},{"href":1420},[1673],{"type":178,"value":1674},"configuration section",{"type":178,"value":1676},".",{"type":173,"tag":464,"props":1678,"children":1680},{"id":1679},"catch-all-page",[1681],{"type":178,"value":1682},"Catch-all page",{"type":173,"tag":174,"props":1684,"children":1685},{},[1686,1688,1696],{"type":178,"value":1687},"The document driven mode ships a pre-configured ",{"type":173,"tag":1250,"props":1689,"children":1693},{"href":1690,"rel":1691},"https://nuxt.com/docs/guide/directory-structure/pages#catch-all-route",[1692],"nofollow",[1694],{"type":178,"value":1695},"catch-all route",{"type":178,"value":1676},{"type":173,"tag":174,"props":1698,"children":1699},{},[1700,1702,1709],{"type":178,"value":1701},"This ",{"type":173,"tag":1250,"props":1703,"children":1706},{"href":1704,"rel":1705},"https://github.com/nuxt/content/blob/main/src/runtime/pages/document-driven.vue",[1692],[1707],{"type":178,"value":1708},"injected Vue page",{"type":178,"value":1710}," is useful for having a minimal project structure:",{"type":173,"tag":188,"props":1712,"children":1714},{"code":1713},"my-project/\n  content/\n    index.md\n  nuxt.config.ts\n  package.json\n  tsconfig.json\n",[1715],{"type":173,"tag":181,"props":1716,"children":1717},{"__ignoreMap":167},[1718],{"type":178,"value":1713},{"type":173,"tag":174,"props":1720,"children":1721},{},[1722,1724,1729],{"type":178,"value":1723},"It comes with a direct binding between your page's meta data to the OpenGraph tags using the ",{"type":173,"tag":1250,"props":1725,"children":1726},{"href":57},[1727],{"type":178,"value":1728},"useContentHead() composable",{"type":178,"value":1730},", providing effective SEO with no configuration.",{"type":173,"tag":1407,"props":1732,"children":1734},{"id":1733},"page-slots",[1735],{"type":178,"value":1736},"Page slots",{"type":173,"tag":174,"props":1738,"children":1739},{},[1740],{"type":178,"value":1741},"The page comes with 2 slot components that you can replace at your project level.",{"type":173,"tag":174,"props":1743,"children":1744},{},[1745,1747,1752],{"type":178,"value":1746},"To do so, you only have to create a component with the same name in your project ",{"type":173,"tag":181,"props":1748,"children":1749},{"className":167},[1750],{"type":178,"value":1751},"components/",{"type":178,"value":1753}," directory.",{"type":173,"tag":1152,"props":1755,"children":1756},{},[1757],{"type":173,"tag":1190,"props":1758,"children":1759},{},[1760],{"type":173,"tag":181,"props":1761,"children":1762},{"className":167},[1763],{"type":178,"value":1764},"\u003CDocumentDrivenNotFound />",{"type":173,"tag":174,"props":1766,"children":1767},{},[1768],{"type":178,"value":1769},"This component will be shown when no page has been found for the current URL.",{"type":173,"tag":188,"props":1771,"children":1776},{"code":1772,"filename":1773,"language":1774,"meta":167,"className":1775,"style":167},"\u003Ctemplate>\n  \u003Ch1>Page not found\u003C/h1>\n\u003C/template>\n","components/DocumentDrivenNotFound.vue","html","language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[1777],{"type":173,"tag":181,"props":1778,"children":1779},{"__ignoreMap":167},[1780,1795,1828],{"type":173,"tag":198,"props":1781,"children":1782},{"class":200,"line":201},[1783,1787,1791],{"type":173,"tag":198,"props":1784,"children":1785},{"style":205},[1786],{"type":178,"value":208},{"type":173,"tag":198,"props":1788,"children":1789},{"style":211},[1790],{"type":178,"value":590},{"type":173,"tag":198,"props":1792,"children":1793},{"style":205},[1794],{"type":178,"value":250},{"type":173,"tag":198,"props":1796,"children":1797},{"class":200,"line":253},[1798,1802,1807,1811,1816,1820,1824],{"type":173,"tag":198,"props":1799,"children":1800},{"style":205},[1801],{"type":178,"value":602},{"type":173,"tag":198,"props":1803,"children":1804},{"style":211},[1805],{"type":178,"value":1806},"h1",{"type":173,"tag":198,"props":1808,"children":1809},{"style":205},[1810],{"type":178,"value":881},{"type":173,"tag":198,"props":1812,"children":1813},{"style":281},[1814],{"type":178,"value":1815},"Page not found",{"type":173,"tag":198,"props":1817,"children":1818},{"style":205},[1819],{"type":178,"value":454},{"type":173,"tag":198,"props":1821,"children":1822},{"style":211},[1823],{"type":178,"value":1806},{"type":173,"tag":198,"props":1825,"children":1826},{"style":205},[1827],{"type":178,"value":250},{"type":173,"tag":198,"props":1829,"children":1830},{"class":200,"line":267},[1831,1835,1839],{"type":173,"tag":198,"props":1832,"children":1833},{"style":205},[1834],{"type":178,"value":454},{"type":173,"tag":198,"props":1836,"children":1837},{"style":211},[1838],{"type":178,"value":590},{"type":173,"tag":198,"props":1840,"children":1841},{"style":205},[1842],{"type":178,"value":250},{"type":173,"tag":1152,"props":1844,"children":1845},{},[1846],{"type":173,"tag":1190,"props":1847,"children":1848},{},[1849],{"type":173,"tag":181,"props":1850,"children":1851},{"className":167},[1852],{"type":178,"value":1853},"\u003CDocumentDrivenEmpty />",{"type":173,"tag":174,"props":1855,"children":1856},{},[1857],{"type":178,"value":1858},"This component will be shown when there is no content for the current page, but the page exists.",{"type":173,"tag":188,"props":1860,"children":1863},{"code":1861,"filename":1862,"language":1774,"meta":167,"className":1775,"style":167},"\u003Ctemplate>\n  \u003Ch1>This page is empty\u003C/h1>\n\u003C/template>\n","components/DocumentDrivenEmpty.vue",[1864],{"type":173,"tag":181,"props":1865,"children":1866},{"__ignoreMap":167},[1867,1882,1914],{"type":173,"tag":198,"props":1868,"children":1869},{"class":200,"line":201},[1870,1874,1878],{"type":173,"tag":198,"props":1871,"children":1872},{"style":205},[1873],{"type":178,"value":208},{"type":173,"tag":198,"props":1875,"children":1876},{"style":211},[1877],{"type":178,"value":590},{"type":173,"tag":198,"props":1879,"children":1880},{"style":205},[1881],{"type":178,"value":250},{"type":173,"tag":198,"props":1883,"children":1884},{"class":200,"line":253},[1885,1889,1893,1897,1902,1906,1910],{"type":173,"tag":198,"props":1886,"children":1887},{"style":205},[1888],{"type":178,"value":602},{"type":173,"tag":198,"props":1890,"children":1891},{"style":211},[1892],{"type":178,"value":1806},{"type":173,"tag":198,"props":1894,"children":1895},{"style":205},[1896],{"type":178,"value":881},{"type":173,"tag":198,"props":1898,"children":1899},{"style":281},[1900],{"type":178,"value":1901},"This page is empty",{"type":173,"tag":198,"props":1903,"children":1904},{"style":205},[1905],{"type":178,"value":454},{"type":173,"tag":198,"props":1907,"children":1908},{"style":211},[1909],{"type":178,"value":1806},{"type":173,"tag":198,"props":1911,"children":1912},{"style":205},[1913],{"type":178,"value":250},{"type":173,"tag":198,"props":1915,"children":1916},{"class":200,"line":267},[1917,1921,1925],{"type":173,"tag":198,"props":1918,"children":1919},{"style":205},[1920],{"type":178,"value":454},{"type":173,"tag":198,"props":1922,"children":1923},{"style":211},[1924],{"type":178,"value":590},{"type":173,"tag":198,"props":1926,"children":1927},{"style":205},[1928],{"type":178,"value":250},{"type":173,"tag":464,"props":1930,"children":1932},{"id":1931},"layout-binding",[1933],{"type":178,"value":1934},"Layout binding",{"type":173,"tag":174,"props":1936,"children":1937},{},[1938],{"type":178,"value":1939},"As the page data is available beforehand, the layout can be defined in the page front-matter:",{"type":173,"tag":188,"props":1941,"children":1945},{"code":1942,"filename":1943,"language":1378,"meta":167,"className":1944,"style":167},"---\nlayout: article\n---\n\nThis page will use the article layout!\n","content/blog/hello-world.md","language-md shiki shiki-themes material-theme-lighter material-theme material-theme-palenight",[1946],{"type":173,"tag":181,"props":1947,"children":1948},{"__ignoreMap":167},[1949,1957,1974,1981,1988],{"type":173,"tag":198,"props":1950,"children":1951},{"class":200,"line":201},[1952],{"type":173,"tag":198,"props":1953,"children":1954},{"style":281},[1955],{"type":178,"value":1956},"---\n",{"type":173,"tag":198,"props":1958,"children":1959},{"class":200,"line":253},[1960,1965,1969],{"type":173,"tag":198,"props":1961,"children":1962},{"style":211},[1963],{"type":178,"value":1964},"layout",{"type":173,"tag":198,"props":1966,"children":1967},{"style":205},[1968],{"type":178,"value":1435},{"type":173,"tag":198,"props":1970,"children":1971},{"style":238},[1972],{"type":178,"value":1973}," article\n",{"type":173,"tag":198,"props":1975,"children":1976},{"class":200,"line":267},[1977],{"type":173,"tag":198,"props":1978,"children":1979},{"style":281},[1980],{"type":178,"value":1956},{"type":173,"tag":198,"props":1982,"children":1983},{"class":200,"line":277},[1984],{"type":173,"tag":198,"props":1985,"children":1986},{"emptyLinePlaceholder":575},[1987],{"type":178,"value":578},{"type":173,"tag":198,"props":1989,"children":1990},{"class":200,"line":292},[1991],{"type":173,"tag":198,"props":1992,"children":1993},{"style":281},[1994],{"type":178,"value":1995},"This page will use the article layout!\n",{"type":173,"tag":174,"props":1997,"children":1998},{},[1999,2001,2006],{"type":178,"value":2000},"By default, it uses the ",{"type":173,"tag":181,"props":2002,"children":2003},{"className":167},[2004],{"type":178,"value":2005},"default",{"type":178,"value":2007}," layout if none is specified.",{"type":173,"tag":174,"props":2009,"children":2010},{},[2011,2013,2018,2019,2023],{"type":178,"value":2012},"If you want to use another layout by default, use the ",{"type":173,"tag":181,"props":2014,"children":2015},{"className":167},[2016],{"type":178,"value":2017},"layoutFallbacks",{"type":178,"value":1428},{"type":173,"tag":181,"props":2020,"children":2021},{"className":167},[2022],{"type":178,"value":1433},{"type":178,"value":1435},{"type":173,"tag":188,"props":2025,"children":2028},{"code":2026,"filename":2027,"language":241,"meta":167,"className":1439,"style":167},"export default defineNuxtConfig({\n  content: {\n    documentDriven: {\n      layoutFallbacks: ['theme'],\n    }\n  }\n})\n","nuxt.config.ts",[2029],{"type":173,"tag":181,"props":2030,"children":2031},{"__ignoreMap":167},[2032,2055,2070,2085,2122,2130,2137],{"type":173,"tag":198,"props":2033,"children":2034},{"class":200,"line":201},[2035,2039,2043,2047,2051],{"type":173,"tag":198,"props":2036,"children":2037},{"style":1449},[2038],{"type":178,"value":1452},{"type":173,"tag":198,"props":2040,"children":2041},{"style":1449},[2042],{"type":178,"value":1457},{"type":173,"tag":198,"props":2044,"children":2045},{"style":437},[2046],{"type":178,"value":1462},{"type":173,"tag":198,"props":2048,"children":2049},{"style":281},[2050],{"type":178,"value":1467},{"type":173,"tag":198,"props":2052,"children":2053},{"style":205},[2054],{"type":178,"value":1472},{"type":173,"tag":198,"props":2056,"children":2057},{"class":200,"line":253},[2058,2062,2066],{"type":173,"tag":198,"props":2059,"children":2060},{"style":211},[2061],{"type":178,"value":1520},{"type":173,"tag":198,"props":2063,"children":2064},{"style":205},[2065],{"type":178,"value":1435},{"type":173,"tag":198,"props":2067,"children":2068},{"style":205},[2069],{"type":178,"value":264},{"type":173,"tag":198,"props":2071,"children":2072},{"class":200,"line":267},[2073,2077,2081],{"type":173,"tag":198,"props":2074,"children":2075},{"style":211},[2076],{"type":178,"value":1536},{"type":173,"tag":198,"props":2078,"children":2079},{"style":205},[2080],{"type":178,"value":1435},{"type":173,"tag":198,"props":2082,"children":2083},{"style":205},[2084],{"type":178,"value":264},{"type":173,"tag":198,"props":2086,"children":2087},{"class":200,"line":277},[2088,2093,2097,2101,2105,2110,2114,2118],{"type":173,"tag":198,"props":2089,"children":2090},{"style":211},[2091],{"type":178,"value":2092},"      layoutFallbacks",{"type":173,"tag":198,"props":2094,"children":2095},{"style":205},[2096],{"type":178,"value":1435},{"type":173,"tag":198,"props":2098,"children":2099},{"style":281},[2100],{"type":178,"value":1489},{"type":173,"tag":198,"props":2102,"children":2103},{"style":205},[2104],{"type":178,"value":1494},{"type":173,"tag":198,"props":2106,"children":2107},{"style":238},[2108],{"type":178,"value":2109},"theme",{"type":173,"tag":198,"props":2111,"children":2112},{"style":205},[2113],{"type":178,"value":1494},{"type":173,"tag":198,"props":2115,"children":2116},{"style":281},[2117],{"type":178,"value":1508},{"type":173,"tag":198,"props":2119,"children":2120},{"style":205},[2121],{"type":178,"value":289},{"type":173,"tag":198,"props":2123,"children":2124},{"class":200,"line":292},[2125],{"type":173,"tag":198,"props":2126,"children":2127},{"style":205},[2128],{"type":178,"value":2129},"    }\n",{"type":173,"tag":198,"props":2131,"children":2132},{"class":200,"line":305},[2133],{"type":173,"tag":198,"props":2134,"children":2135},{"style":205},[2136],{"type":178,"value":1554},{"type":173,"tag":198,"props":2138,"children":2139},{"class":200,"line":318},[2140,2144],{"type":173,"tag":198,"props":2141,"children":2142},{"style":205},[2143],{"type":178,"value":429},{"type":173,"tag":198,"props":2145,"children":2146},{"style":281},[2147],{"type":178,"value":1566},{"type":173,"tag":174,"props":2149,"children":2150},{},[2151,2153,2157,2159,2164,2166,2170,2172,2176],{"type":178,"value":2152},"This option will search for a ",{"type":173,"tag":181,"props":2154,"children":2155},{"className":167},[2156],{"type":178,"value":2109},{"type":178,"value":2158}," key in ",{"type":173,"tag":181,"props":2160,"children":2161},{"className":167},[2162],{"type":178,"value":2163},"globals",{"type":178,"value":2165},", then search for a ",{"type":173,"tag":181,"props":2167,"children":2168},{"className":167},[2169],{"type":178,"value":1964},{"type":178,"value":2171}," key inside that object. If found, that ",{"type":173,"tag":181,"props":2173,"children":2174},{"className":167},[2175],{"type":178,"value":1964},{"type":178,"value":2177}," key will be used as a fallback.",{"type":173,"tag":464,"props":2179,"children":2181},{"id":2180},"global-variables",[2182],{"type":178,"value":2183},"Global variables",{"type":173,"tag":174,"props":2185,"children":2186},{},[2187,2189,2196],{"type":178,"value":2188},"Queries are being made from a ",{"type":173,"tag":1250,"props":2190,"children":2193},{"href":2191,"rel":2192},"https://nuxt.com/docs/guide/directory-structure/middleware",[1692],[2194],{"type":178,"value":2195},"route middleware",{"type":178,"value":2197}," and are resolved before your page renders.",{"type":173,"tag":174,"props":2199,"children":2200},{},[2201,2203,2210,2212,2218],{"type":178,"value":2202},"This gives access to the ",{"type":173,"tag":1250,"props":2204,"children":2205},{"href":101},[2206],{"type":173,"tag":181,"props":2207,"children":2208},{"className":167},[2209],{"type":178,"value":100},{"type":178,"value":2211}," composable ",{"type":173,"tag":2213,"props":2214,"children":2215},"strong",{},[2216],{"type":178,"value":2217},"anywhere in your app",{"type":178,"value":2219}," with the following variables:",{"type":173,"tag":1152,"props":2221,"children":2222},{},[2223,2230,2238,2246],{"type":173,"tag":1190,"props":2224,"children":2225},{},[2226],{"type":173,"tag":181,"props":2227,"children":2228},{"className":167},[2229],{"type":178,"value":647},{"type":173,"tag":1190,"props":2231,"children":2232},{},[2233],{"type":173,"tag":181,"props":2234,"children":2235},{"className":167},[2236],{"type":178,"value":2237},"surround",{"type":173,"tag":1190,"props":2239,"children":2240},{},[2241],{"type":173,"tag":181,"props":2242,"children":2243},{"className":167},[2244],{"type":178,"value":2245},"navigation",{"type":173,"tag":1190,"props":2247,"children":2248},{},[2249],{"type":173,"tag":181,"props":2250,"children":2251},{"className":167},[2252],{"type":178,"value":2163},{"type":173,"tag":188,"props":2254,"children":2256},{"code":2255,"language":1774,"meta":167,"className":1775,"style":167},"\u003Cscript setup lang=\"ts\">\nconst { navigation, page, surround, globals } = useContent()\n\nconsole.log(page.value)\n\u003C/script>\n",[2257],{"type":173,"tag":181,"props":2258,"children":2259},{"__ignoreMap":167},[2260,2299,2358,2365,2396],{"type":173,"tag":198,"props":2261,"children":2262},{"class":200,"line":201},[2263,2267,2271,2275,2279,2283,2287,2291,2295],{"type":173,"tag":198,"props":2264,"children":2265},{"style":205},[2266],{"type":178,"value":208},{"type":173,"tag":198,"props":2268,"children":2269},{"style":211},[2270],{"type":178,"value":214},{"type":173,"tag":198,"props":2272,"children":2273},{"style":217},[2274],{"type":178,"value":220},{"type":173,"tag":198,"props":2276,"children":2277},{"style":217},[2278],{"type":178,"value":225},{"type":173,"tag":198,"props":2280,"children":2281},{"style":205},[2282],{"type":178,"value":230},{"type":173,"tag":198,"props":2284,"children":2285},{"style":205},[2286],{"type":178,"value":235},{"type":173,"tag":198,"props":2288,"children":2289},{"style":238},[2290],{"type":178,"value":241},{"type":173,"tag":198,"props":2292,"children":2293},{"style":205},[2294],{"type":178,"value":235},{"type":173,"tag":198,"props":2296,"children":2297},{"style":205},[2298],{"type":178,"value":250},{"type":173,"tag":198,"props":2300,"children":2301},{"class":200,"line":253},[2302,2306,2310,2315,2319,2324,2328,2333,2337,2342,2346,2350,2354],{"type":173,"tag":198,"props":2303,"children":2304},{"style":217},[2305],{"type":178,"value":259},{"type":173,"tag":198,"props":2307,"children":2308},{"style":205},[2309],{"type":178,"value":533},{"type":173,"tag":198,"props":2311,"children":2312},{"style":281},[2313],{"type":178,"value":2314}," navigation",{"type":173,"tag":198,"props":2316,"children":2317},{"style":205},[2318],{"type":178,"value":745},{"type":173,"tag":198,"props":2320,"children":2321},{"style":281},[2322],{"type":178,"value":2323}," page",{"type":173,"tag":198,"props":2325,"children":2326},{"style":205},[2327],{"type":178,"value":745},{"type":173,"tag":198,"props":2329,"children":2330},{"style":281},[2331],{"type":178,"value":2332}," surround",{"type":173,"tag":198,"props":2334,"children":2335},{"style":205},[2336],{"type":178,"value":745},{"type":173,"tag":198,"props":2338,"children":2339},{"style":281},[2340],{"type":178,"value":2341}," globals ",{"type":173,"tag":198,"props":2343,"children":2344},{"style":205},[2345],{"type":178,"value":429},{"type":173,"tag":198,"props":2347,"children":2348},{"style":205},[2349],{"type":178,"value":434},{"type":173,"tag":198,"props":2351,"children":2352},{"style":437},[2353],{"type":178,"value":440},{"type":173,"tag":198,"props":2355,"children":2356},{"style":281},[2357],{"type":178,"value":445},{"type":173,"tag":198,"props":2359,"children":2360},{"class":200,"line":267},[2361],{"type":173,"tag":198,"props":2362,"children":2363},{"emptyLinePlaceholder":575},[2364],{"type":178,"value":578},{"type":173,"tag":198,"props":2366,"children":2367},{"class":200,"line":277},[2368,2373,2377,2382,2387,2391],{"type":173,"tag":198,"props":2369,"children":2370},{"style":281},[2371],{"type":178,"value":2372},"console",{"type":173,"tag":198,"props":2374,"children":2375},{"style":205},[2376],{"type":178,"value":1676},{"type":173,"tag":198,"props":2378,"children":2379},{"style":437},[2380],{"type":178,"value":2381},"log",{"type":173,"tag":198,"props":2383,"children":2384},{"style":281},[2385],{"type":178,"value":2386},"(page",{"type":173,"tag":198,"props":2388,"children":2389},{"style":205},[2390],{"type":178,"value":1676},{"type":173,"tag":198,"props":2392,"children":2393},{"style":281},[2394],{"type":178,"value":2395},"value)\n",{"type":173,"tag":198,"props":2397,"children":2398},{"class":200,"line":292},[2399,2403,2407],{"type":173,"tag":198,"props":2400,"children":2401},{"style":205},[2402],{"type":178,"value":454},{"type":173,"tag":198,"props":2404,"children":2405},{"style":211},[2406],{"type":178,"value":214},{"type":173,"tag":198,"props":2408,"children":2409},{"style":205},[2410],{"type":178,"value":250},{"type":173,"tag":464,"props":2412,"children":2414},{"id":2413},"extend-global-variables",[2415],{"type":178,"value":2416},"Extend global variables",{"type":173,"tag":174,"props":2418,"children":2419},{},[2420],{"type":178,"value":2421},"This mode gives you a convenient way to access file data globally in your application.",{"type":173,"tag":174,"props":2423,"children":2424},{},[2425,2427,2432,2434,2438],{"type":178,"value":2426},"Use the ",{"type":173,"tag":181,"props":2428,"children":2429},{"className":167},[2430],{"type":178,"value":2431},"documentDriven.globals",{"type":178,"value":2433}," key of in your ",{"type":173,"tag":181,"props":2435,"children":2436},{"className":167},[2437],{"type":178,"value":1433},{"type":178,"value":2439}," to specify a query:",{"type":173,"tag":188,"props":2441,"children":2443},{"code":2442,"filename":2027,"language":241,"meta":167,"className":1439,"style":167},"export default defineNuxtConfig({\n  content: {\n    documentDriven: {\n      globals: {\n        theme: {\n          where: [\n            {\n              _id: 'content:_theme.yml'\n            }\n          ],\n          without: ['_']\n        }\n      }\n    }\n  }\n})\n",[2444],{"type":173,"tag":181,"props":2445,"children":2446},{"__ignoreMap":167},[2447,2470,2485,2500,2516,2532,2549,2557,2584,2592,2604,2638,2646,2654,2661,2668],{"type":173,"tag":198,"props":2448,"children":2449},{"class":200,"line":201},[2450,2454,2458,2462,2466],{"type":173,"tag":198,"props":2451,"children":2452},{"style":1449},[2453],{"type":178,"value":1452},{"type":173,"tag":198,"props":2455,"children":2456},{"style":1449},[2457],{"type":178,"value":1457},{"type":173,"tag":198,"props":2459,"children":2460},{"style":437},[2461],{"type":178,"value":1462},{"type":173,"tag":198,"props":2463,"children":2464},{"style":281},[2465],{"type":178,"value":1467},{"type":173,"tag":198,"props":2467,"children":2468},{"style":205},[2469],{"type":178,"value":1472},{"type":173,"tag":198,"props":2471,"children":2472},{"class":200,"line":253},[2473,2477,2481],{"type":173,"tag":198,"props":2474,"children":2475},{"style":211},[2476],{"type":178,"value":1520},{"type":173,"tag":198,"props":2478,"children":2479},{"style":205},[2480],{"type":178,"value":1435},{"type":173,"tag":198,"props":2482,"children":2483},{"style":205},[2484],{"type":178,"value":264},{"type":173,"tag":198,"props":2486,"children":2487},{"class":200,"line":267},[2488,2492,2496],{"type":173,"tag":198,"props":2489,"children":2490},{"style":211},[2491],{"type":178,"value":1536},{"type":173,"tag":198,"props":2493,"children":2494},{"style":205},[2495],{"type":178,"value":1435},{"type":173,"tag":198,"props":2497,"children":2498},{"style":205},[2499],{"type":178,"value":264},{"type":173,"tag":198,"props":2501,"children":2502},{"class":200,"line":277},[2503,2508,2512],{"type":173,"tag":198,"props":2504,"children":2505},{"style":211},[2506],{"type":178,"value":2507},"      globals",{"type":173,"tag":198,"props":2509,"children":2510},{"style":205},[2511],{"type":178,"value":1435},{"type":173,"tag":198,"props":2513,"children":2514},{"style":205},[2515],{"type":178,"value":264},{"type":173,"tag":198,"props":2517,"children":2518},{"class":200,"line":292},[2519,2524,2528],{"type":173,"tag":198,"props":2520,"children":2521},{"style":211},[2522],{"type":178,"value":2523},"        theme",{"type":173,"tag":198,"props":2525,"children":2526},{"style":205},[2527],{"type":178,"value":1435},{"type":173,"tag":198,"props":2529,"children":2530},{"style":205},[2531],{"type":178,"value":264},{"type":173,"tag":198,"props":2533,"children":2534},{"class":200,"line":305},[2535,2540,2544],{"type":173,"tag":198,"props":2536,"children":2537},{"style":211},[2538],{"type":178,"value":2539},"          where",{"type":173,"tag":198,"props":2541,"children":2542},{"style":205},[2543],{"type":178,"value":1435},{"type":173,"tag":198,"props":2545,"children":2546},{"style":281},[2547],{"type":178,"value":2548}," [\n",{"type":173,"tag":198,"props":2550,"children":2551},{"class":200,"line":318},[2552],{"type":173,"tag":198,"props":2553,"children":2554},{"style":205},[2555],{"type":178,"value":2556},"            {\n",{"type":173,"tag":198,"props":2558,"children":2559},{"class":200,"line":331},[2560,2565,2569,2574,2579],{"type":173,"tag":198,"props":2561,"children":2562},{"style":211},[2563],{"type":178,"value":2564},"              _id",{"type":173,"tag":198,"props":2566,"children":2567},{"style":205},[2568],{"type":178,"value":1435},{"type":173,"tag":198,"props":2570,"children":2571},{"style":205},[2572],{"type":178,"value":2573}," '",{"type":173,"tag":198,"props":2575,"children":2576},{"style":238},[2577],{"type":178,"value":2578},"content:_theme.yml",{"type":173,"tag":198,"props":2580,"children":2581},{"style":205},[2582],{"type":178,"value":2583},"'\n",{"type":173,"tag":198,"props":2585,"children":2586},{"class":200,"line":340},[2587],{"type":173,"tag":198,"props":2588,"children":2589},{"style":205},[2590],{"type":178,"value":2591},"            }\n",{"type":173,"tag":198,"props":2593,"children":2594},{"class":200,"line":353},[2595,2600],{"type":173,"tag":198,"props":2596,"children":2597},{"style":281},[2598],{"type":178,"value":2599},"          ]",{"type":173,"tag":198,"props":2601,"children":2602},{"style":205},[2603],{"type":178,"value":289},{"type":173,"tag":198,"props":2605,"children":2606},{"class":200,"line":366},[2607,2612,2616,2620,2624,2629,2633],{"type":173,"tag":198,"props":2608,"children":2609},{"style":211},[2610],{"type":178,"value":2611},"          without",{"type":173,"tag":198,"props":2613,"children":2614},{"style":205},[2615],{"type":178,"value":1435},{"type":173,"tag":198,"props":2617,"children":2618},{"style":281},[2619],{"type":178,"value":1489},{"type":173,"tag":198,"props":2621,"children":2622},{"style":205},[2623],{"type":178,"value":1494},{"type":173,"tag":198,"props":2625,"children":2626},{"style":238},[2627],{"type":178,"value":2628},"_",{"type":173,"tag":198,"props":2630,"children":2631},{"style":205},[2632],{"type":178,"value":1494},{"type":173,"tag":198,"props":2634,"children":2635},{"style":281},[2636],{"type":178,"value":2637},"]\n",{"type":173,"tag":198,"props":2639,"children":2640},{"class":200,"line":379},[2641],{"type":173,"tag":198,"props":2642,"children":2643},{"style":205},[2644],{"type":178,"value":2645},"        }\n",{"type":173,"tag":198,"props":2647,"children":2648},{"class":200,"line":392},[2649],{"type":173,"tag":198,"props":2650,"children":2651},{"style":205},[2652],{"type":178,"value":2653},"      }\n",{"type":173,"tag":198,"props":2655,"children":2656},{"class":200,"line":401},[2657],{"type":173,"tag":198,"props":2658,"children":2659},{"style":205},[2660],{"type":178,"value":2129},{"type":173,"tag":198,"props":2662,"children":2663},{"class":200,"line":414},[2664],{"type":173,"tag":198,"props":2665,"children":2666},{"style":205},[2667],{"type":178,"value":1554},{"type":173,"tag":198,"props":2669,"children":2670},{"class":200,"line":423},[2671,2675],{"type":173,"tag":198,"props":2672,"children":2673},{"style":205},[2674],{"type":178,"value":429},{"type":173,"tag":198,"props":2676,"children":2677},{"style":281},[2678],{"type":178,"value":1566},{"type":173,"tag":174,"props":2680,"children":2681},{},[2682,2684,2689,2691,2696],{"type":178,"value":2683},"This configuration will search for a ",{"type":173,"tag":181,"props":2685,"children":2686},{"className":167},[2687],{"type":178,"value":2688},"_theme.yml",{"type":178,"value":2690}," file in the ",{"type":173,"tag":181,"props":2692,"children":2693},{"className":167},[2694],{"type":178,"value":2695},"content/",{"type":178,"value":1753},{"type":173,"tag":174,"props":2698,"children":2699},{},[2700,2702,2706,2708,2713],{"type":178,"value":2701},"If found, a ",{"type":173,"tag":181,"props":2703,"children":2704},{"className":167},[2705],{"type":178,"value":2109},{"type":178,"value":2707}," object will be accessible via ",{"type":173,"tag":181,"props":2709,"children":2710},{"className":167},[2711],{"type":178,"value":2712},"useContent().globals",{"type":178,"value":1435},{"type":173,"tag":188,"props":2715,"children":2717},{"code":2716,"language":241,"meta":167,"className":1439,"style":167},"const { theme } = useContent().globals\n",[2718],{"type":173,"tag":181,"props":2719,"children":2720},{"__ignoreMap":167},[2721],{"type":173,"tag":198,"props":2722,"children":2723},{"class":200,"line":201},[2724,2728,2732,2737,2741,2745,2749,2754,2758],{"type":173,"tag":198,"props":2725,"children":2726},{"style":217},[2727],{"type":178,"value":259},{"type":173,"tag":198,"props":2729,"children":2730},{"style":205},[2731],{"type":178,"value":533},{"type":173,"tag":198,"props":2733,"children":2734},{"style":281},[2735],{"type":178,"value":2736}," theme ",{"type":173,"tag":198,"props":2738,"children":2739},{"style":205},[2740],{"type":178,"value":429},{"type":173,"tag":198,"props":2742,"children":2743},{"style":205},[2744],{"type":178,"value":434},{"type":173,"tag":198,"props":2746,"children":2747},{"style":437},[2748],{"type":178,"value":440},{"type":173,"tag":198,"props":2750,"children":2751},{"style":281},[2752],{"type":178,"value":2753},"()",{"type":173,"tag":198,"props":2755,"children":2756},{"style":205},[2757],{"type":178,"value":1676},{"type":173,"tag":198,"props":2759,"children":2760},{"style":281},[2761],{"type":178,"value":2762},"globals\n",{"type":173,"tag":174,"props":2764,"children":2765},{},[2766],{"type":178,"value":2767},"Any changes to these files will be automatically reflected in the application during development.",{"type":173,"tag":464,"props":2769,"children":2771},{"id":2770},"disable-or-control-the-page-data",[2772],{"type":178,"value":2773},"Disable or control the page data",{"type":173,"tag":174,"props":2775,"children":2776},{},[2777,2779,2783],{"type":178,"value":2778},"Using special ",{"type":173,"tag":181,"props":2780,"children":2781},{"className":167},[2782],{"type":178,"value":1426},{"type":178,"value":2784}," meta in your pages, you can disable this feature for specific route or control it's behavior.",{"type":173,"tag":1407,"props":2786,"children":2788},{"id":2787},"disable-document-driven",[2789],{"type":178,"value":2790},"Disable document driven",{"type":173,"tag":174,"props":2792,"children":2793},{},[2794,2796,2800,2802,2807,2809,2813,2815,2820],{"type":178,"value":2795},"Setting ",{"type":173,"tag":181,"props":2797,"children":2798},{"className":167},[2799],{"type":178,"value":1426},{"type":178,"value":2801}," to ",{"type":173,"tag":181,"props":2803,"children":2804},{"className":167},[2805],{"type":178,"value":2806},"false",{"type":178,"value":2808}," will disable document driven. This means that exposed refs from ",{"type":173,"tag":181,"props":2810,"children":2811},{"className":167},[2812],{"type":178,"value":100},{"type":178,"value":2814}," will be ",{"type":173,"tag":181,"props":2816,"children":2817},{"className":167},[2818],{"type":178,"value":2819},"undefined",{"type":178,"value":1676},{"type":173,"tag":188,"props":2822,"children":2824},{"code":2823,"language":1774,"meta":167,"className":1775,"style":167},"\u003Cscript setup lang=\"ts\">\ndefinePageMeta({\n  documentDriven: false\n})\n\u003C/script>\n",[2825],{"type":173,"tag":181,"props":2826,"children":2827},{"__ignoreMap":167},[2828,2867,2883,2900,2911],{"type":173,"tag":198,"props":2829,"children":2830},{"class":200,"line":201},[2831,2835,2839,2843,2847,2851,2855,2859,2863],{"type":173,"tag":198,"props":2832,"children":2833},{"style":205},[2834],{"type":178,"value":208},{"type":173,"tag":198,"props":2836,"children":2837},{"style":211},[2838],{"type":178,"value":214},{"type":173,"tag":198,"props":2840,"children":2841},{"style":217},[2842],{"type":178,"value":220},{"type":173,"tag":198,"props":2844,"children":2845},{"style":217},[2846],{"type":178,"value":225},{"type":173,"tag":198,"props":2848,"children":2849},{"style":205},[2850],{"type":178,"value":230},{"type":173,"tag":198,"props":2852,"children":2853},{"style":205},[2854],{"type":178,"value":235},{"type":173,"tag":198,"props":2856,"children":2857},{"style":238},[2858],{"type":178,"value":241},{"type":173,"tag":198,"props":2860,"children":2861},{"style":205},[2862],{"type":178,"value":235},{"type":173,"tag":198,"props":2864,"children":2865},{"style":205},[2866],{"type":178,"value":250},{"type":173,"tag":198,"props":2868,"children":2869},{"class":200,"line":253},[2870,2875,2879],{"type":173,"tag":198,"props":2871,"children":2872},{"style":437},[2873],{"type":178,"value":2874},"definePageMeta",{"type":173,"tag":198,"props":2876,"children":2877},{"style":281},[2878],{"type":178,"value":1467},{"type":173,"tag":198,"props":2880,"children":2881},{"style":205},[2882],{"type":178,"value":1472},{"type":173,"tag":198,"props":2884,"children":2885},{"class":200,"line":267},[2886,2891,2895],{"type":173,"tag":198,"props":2887,"children":2888},{"style":211},[2889],{"type":178,"value":2890},"  documentDriven",{"type":173,"tag":198,"props":2892,"children":2893},{"style":205},[2894],{"type":178,"value":1435},{"type":173,"tag":198,"props":2896,"children":2897},{"style":1543},[2898],{"type":178,"value":2899}," false\n",{"type":173,"tag":198,"props":2901,"children":2902},{"class":200,"line":277},[2903,2907],{"type":173,"tag":198,"props":2904,"children":2905},{"style":205},[2906],{"type":178,"value":429},{"type":173,"tag":198,"props":2908,"children":2909},{"style":281},[2910],{"type":178,"value":1566},{"type":173,"tag":198,"props":2912,"children":2913},{"class":200,"line":292},[2914,2918,2922],{"type":173,"tag":198,"props":2915,"children":2916},{"style":205},[2917],{"type":178,"value":454},{"type":173,"tag":198,"props":2919,"children":2920},{"style":211},[2921],{"type":178,"value":214},{"type":173,"tag":198,"props":2923,"children":2924},{"style":205},[2925],{"type":178,"value":250},{"type":173,"tag":1407,"props":2927,"children":2929},{"id":2928},"control-data",[2930],{"type":178,"value":2931},"Control data",{"type":173,"tag":174,"props":2933,"children":2934},{},[2935,2937,2941],{"type":178,"value":2936},"To control document driven data you can pass an object to ",{"type":173,"tag":181,"props":2938,"children":2939},{"className":167},[2940],{"type":178,"value":1426},{"type":178,"value":2942}," meta key and enable/disable specific parts of it.",{"type":173,"tag":188,"props":2944,"children":2946},{"code":2945,"language":1774,"meta":167,"className":1775,"style":167},"\u003Cscript setup lang=\"ts\">\ndefinePageMeta({\n  documentDriven: {\n    page: true, // Keep page fetching enabled\n    surround: false // Disable surround fetching\n  }\n})\n\u003C/script>\n",[2947],{"type":173,"tag":181,"props":2948,"children":2949},{"__ignoreMap":167},[2950,2989,3004,3019,3045,3067,3074,3085],{"type":173,"tag":198,"props":2951,"children":2952},{"class":200,"line":201},[2953,2957,2961,2965,2969,2973,2977,2981,2985],{"type":173,"tag":198,"props":2954,"children":2955},{"style":205},[2956],{"type":178,"value":208},{"type":173,"tag":198,"props":2958,"children":2959},{"style":211},[2960],{"type":178,"value":214},{"type":173,"tag":198,"props":2962,"children":2963},{"style":217},[2964],{"type":178,"value":220},{"type":173,"tag":198,"props":2966,"children":2967},{"style":217},[2968],{"type":178,"value":225},{"type":173,"tag":198,"props":2970,"children":2971},{"style":205},[2972],{"type":178,"value":230},{"type":173,"tag":198,"props":2974,"children":2975},{"style":205},[2976],{"type":178,"value":235},{"type":173,"tag":198,"props":2978,"children":2979},{"style":238},[2980],{"type":178,"value":241},{"type":173,"tag":198,"props":2982,"children":2983},{"style":205},[2984],{"type":178,"value":235},{"type":173,"tag":198,"props":2986,"children":2987},{"style":205},[2988],{"type":178,"value":250},{"type":173,"tag":198,"props":2990,"children":2991},{"class":200,"line":253},[2992,2996,3000],{"type":173,"tag":198,"props":2993,"children":2994},{"style":437},[2995],{"type":178,"value":2874},{"type":173,"tag":198,"props":2997,"children":2998},{"style":281},[2999],{"type":178,"value":1467},{"type":173,"tag":198,"props":3001,"children":3002},{"style":205},[3003],{"type":178,"value":1472},{"type":173,"tag":198,"props":3005,"children":3006},{"class":200,"line":267},[3007,3011,3015],{"type":173,"tag":198,"props":3008,"children":3009},{"style":211},[3010],{"type":178,"value":2890},{"type":173,"tag":198,"props":3012,"children":3013},{"style":205},[3014],{"type":178,"value":1435},{"type":173,"tag":198,"props":3016,"children":3017},{"style":205},[3018],{"type":178,"value":264},{"type":173,"tag":198,"props":3020,"children":3021},{"class":200,"line":277},[3022,3027,3031,3036,3040],{"type":173,"tag":198,"props":3023,"children":3024},{"style":211},[3025],{"type":178,"value":3026},"    page",{"type":173,"tag":198,"props":3028,"children":3029},{"style":205},[3030],{"type":178,"value":1435},{"type":173,"tag":198,"props":3032,"children":3033},{"style":1543},[3034],{"type":178,"value":3035}," true",{"type":173,"tag":198,"props":3037,"children":3038},{"style":205},[3039],{"type":178,"value":745},{"type":173,"tag":198,"props":3041,"children":3042},{"style":271},[3043],{"type":178,"value":3044}," // Keep page fetching enabled\n",{"type":173,"tag":198,"props":3046,"children":3047},{"class":200,"line":292},[3048,3053,3057,3062],{"type":173,"tag":198,"props":3049,"children":3050},{"style":211},[3051],{"type":178,"value":3052},"    surround",{"type":173,"tag":198,"props":3054,"children":3055},{"style":205},[3056],{"type":178,"value":1435},{"type":173,"tag":198,"props":3058,"children":3059},{"style":1543},[3060],{"type":178,"value":3061}," false",{"type":173,"tag":198,"props":3063,"children":3064},{"style":271},[3065],{"type":178,"value":3066}," // Disable surround fetching\n",{"type":173,"tag":198,"props":3068,"children":3069},{"class":200,"line":305},[3070],{"type":173,"tag":198,"props":3071,"children":3072},{"style":205},[3073],{"type":178,"value":1554},{"type":173,"tag":198,"props":3075,"children":3076},{"class":200,"line":318},[3077,3081],{"type":173,"tag":198,"props":3078,"children":3079},{"style":205},[3080],{"type":178,"value":429},{"type":173,"tag":198,"props":3082,"children":3083},{"style":281},[3084],{"type":178,"value":1566},{"type":173,"tag":198,"props":3086,"children":3087},{"class":200,"line":331},[3088,3092,3096],{"type":173,"tag":198,"props":3089,"children":3090},{"style":205},[3091],{"type":178,"value":454},{"type":173,"tag":198,"props":3093,"children":3094},{"style":211},[3095],{"type":178,"value":214},{"type":173,"tag":198,"props":3097,"children":3098},{"style":205},[3099],{"type":178,"value":250},{"type":173,"tag":1407,"props":3101,"children":3103},{"id":3102},"config-content",[3104],{"type":178,"value":3105},"Config content",{"type":173,"tag":174,"props":3107,"children":3108},{},[3109,3111,3115,3117,3121],{"type":178,"value":3110},"You can pass custom path/query to ",{"type":173,"tag":181,"props":3112,"children":3113},{"className":167},[3114],{"type":178,"value":647},{"type":178,"value":3116}," and ",{"type":173,"tag":181,"props":3118,"children":3119},{"className":167},[3120],{"type":178,"value":2237},{"type":178,"value":3122}," options to config documentDriven content.",{"type":173,"tag":188,"props":3124,"children":3126},{"code":3125,"language":1774,"meta":167,"className":1775,"style":167},"\u003Cscript setup lang=\"ts\">\ndefinePageMeta({\n  documentDriven: {\n    // Simple Path\n    page: '/foo',\n    // Rich Query\n    surround: {\n      _path: '/foo/bar'\n    }\n  }\n})\n\u003C/script>\n",[3127],{"type":173,"tag":181,"props":3128,"children":3129},{"__ignoreMap":167},[3130,3169,3184,3199,3207,3235,3243,3258,3283,3290,3297,3308],{"type":173,"tag":198,"props":3131,"children":3132},{"class":200,"line":201},[3133,3137,3141,3145,3149,3153,3157,3161,3165],{"type":173,"tag":198,"props":3134,"children":3135},{"style":205},[3136],{"type":178,"value":208},{"type":173,"tag":198,"props":3138,"children":3139},{"style":211},[3140],{"type":178,"value":214},{"type":173,"tag":198,"props":3142,"children":3143},{"style":217},[3144],{"type":178,"value":220},{"type":173,"tag":198,"props":3146,"children":3147},{"style":217},[3148],{"type":178,"value":225},{"type":173,"tag":198,"props":3150,"children":3151},{"style":205},[3152],{"type":178,"value":230},{"type":173,"tag":198,"props":3154,"children":3155},{"style":205},[3156],{"type":178,"value":235},{"type":173,"tag":198,"props":3158,"children":3159},{"style":238},[3160],{"type":178,"value":241},{"type":173,"tag":198,"props":3162,"children":3163},{"style":205},[3164],{"type":178,"value":235},{"type":173,"tag":198,"props":3166,"children":3167},{"style":205},[3168],{"type":178,"value":250},{"type":173,"tag":198,"props":3170,"children":3171},{"class":200,"line":253},[3172,3176,3180],{"type":173,"tag":198,"props":3173,"children":3174},{"style":437},[3175],{"type":178,"value":2874},{"type":173,"tag":198,"props":3177,"children":3178},{"style":281},[3179],{"type":178,"value":1467},{"type":173,"tag":198,"props":3181,"children":3182},{"style":205},[3183],{"type":178,"value":1472},{"type":173,"tag":198,"props":3185,"children":3186},{"class":200,"line":267},[3187,3191,3195],{"type":173,"tag":198,"props":3188,"children":3189},{"style":211},[3190],{"type":178,"value":2890},{"type":173,"tag":198,"props":3192,"children":3193},{"style":205},[3194],{"type":178,"value":1435},{"type":173,"tag":198,"props":3196,"children":3197},{"style":205},[3198],{"type":178,"value":264},{"type":173,"tag":198,"props":3200,"children":3201},{"class":200,"line":277},[3202],{"type":173,"tag":198,"props":3203,"children":3204},{"style":271},[3205],{"type":178,"value":3206},"    // Simple Path\n",{"type":173,"tag":198,"props":3208,"children":3209},{"class":200,"line":292},[3210,3214,3218,3222,3227,3231],{"type":173,"tag":198,"props":3211,"children":3212},{"style":211},[3213],{"type":178,"value":3026},{"type":173,"tag":198,"props":3215,"children":3216},{"style":205},[3217],{"type":178,"value":1435},{"type":173,"tag":198,"props":3219,"children":3220},{"style":205},[3221],{"type":178,"value":2573},{"type":173,"tag":198,"props":3223,"children":3224},{"style":238},[3225],{"type":178,"value":3226},"/foo",{"type":173,"tag":198,"props":3228,"children":3229},{"style":205},[3230],{"type":178,"value":1494},{"type":173,"tag":198,"props":3232,"children":3233},{"style":205},[3234],{"type":178,"value":289},{"type":173,"tag":198,"props":3236,"children":3237},{"class":200,"line":305},[3238],{"type":173,"tag":198,"props":3239,"children":3240},{"style":271},[3241],{"type":178,"value":3242},"    // Rich Query\n",{"type":173,"tag":198,"props":3244,"children":3245},{"class":200,"line":318},[3246,3250,3254],{"type":173,"tag":198,"props":3247,"children":3248},{"style":211},[3249],{"type":178,"value":3052},{"type":173,"tag":198,"props":3251,"children":3252},{"style":205},[3253],{"type":178,"value":1435},{"type":173,"tag":198,"props":3255,"children":3256},{"style":205},[3257],{"type":178,"value":264},{"type":173,"tag":198,"props":3259,"children":3260},{"class":200,"line":331},[3261,3266,3270,3274,3279],{"type":173,"tag":198,"props":3262,"children":3263},{"style":211},[3264],{"type":178,"value":3265},"      _path",{"type":173,"tag":198,"props":3267,"children":3268},{"style":205},[3269],{"type":178,"value":1435},{"type":173,"tag":198,"props":3271,"children":3272},{"style":205},[3273],{"type":178,"value":2573},{"type":173,"tag":198,"props":3275,"children":3276},{"style":238},[3277],{"type":178,"value":3278},"/foo/bar",{"type":173,"tag":198,"props":3280,"children":3281},{"style":205},[3282],{"type":178,"value":2583},{"type":173,"tag":198,"props":3284,"children":3285},{"class":200,"line":340},[3286],{"type":173,"tag":198,"props":3287,"children":3288},{"style":205},[3289],{"type":178,"value":2129},{"type":173,"tag":198,"props":3291,"children":3292},{"class":200,"line":353},[3293],{"type":173,"tag":198,"props":3294,"children":3295},{"style":205},[3296],{"type":178,"value":1554},{"type":173,"tag":198,"props":3298,"children":3299},{"class":200,"line":366},[3300,3304],{"type":173,"tag":198,"props":3301,"children":3302},{"style":205},[3303],{"type":178,"value":429},{"type":173,"tag":198,"props":3305,"children":3306},{"style":281},[3307],{"type":178,"value":1566},{"type":173,"tag":198,"props":3309,"children":3310},{"class":200,"line":379},[3311,3315,3319],{"type":173,"tag":198,"props":3312,"children":3313},{"style":205},[3314],{"type":178,"value":454},{"type":173,"tag":198,"props":3316,"children":3317},{"style":211},[3318],{"type":178,"value":214},{"type":173,"tag":198,"props":3320,"children":3321},{"style":205},[3322],{"type":178,"value":250},{"type":173,"tag":1385,"props":3324,"children":3326},{"type":3325},"info",[3327,3355],{"type":173,"tag":174,"props":3328,"children":3329},{},[3330,3332,3336,3338,3342,3344,3348,3350,3354],{"type":178,"value":3331},"If you change ",{"type":173,"tag":181,"props":3333,"children":3334},{"className":167},[3335],{"type":178,"value":647},{"type":178,"value":3337}," option and leave ",{"type":173,"tag":181,"props":3339,"children":3340},{"className":167},[3341],{"type":178,"value":2237},{"type":178,"value":3343}," unset, ",{"type":173,"tag":181,"props":3345,"children":3346},{"className":167},[3347],{"type":178,"value":2237},{"type":178,"value":3349}," option will use the same config and ",{"type":173,"tag":181,"props":3351,"children":3352},{"className":167},[3353],{"type":178,"value":647},{"type":178,"value":1676},{"type":173,"tag":188,"props":3356,"children":3358},{"code":3357,"language":1774,"meta":167,"className":1775,"style":167},"\u003Cscript setup lang=\"ts\">\ndefinePageMeta({\n  documentDriven: {\n    page: {\n      _path: '/foo/bar'\n    },\n    // surround will use `{ _path: '/foo/bar' }`\n  }\n})\n\u003C/script>\n",[3359],{"type":173,"tag":181,"props":3360,"children":3361},{"__ignoreMap":167},[3362,3401,3416,3431,3446,3469,3477,3485,3492,3503],{"type":173,"tag":198,"props":3363,"children":3364},{"class":200,"line":201},[3365,3369,3373,3377,3381,3385,3389,3393,3397],{"type":173,"tag":198,"props":3366,"children":3367},{"style":205},[3368],{"type":178,"value":208},{"type":173,"tag":198,"props":3370,"children":3371},{"style":211},[3372],{"type":178,"value":214},{"type":173,"tag":198,"props":3374,"children":3375},{"style":217},[3376],{"type":178,"value":220},{"type":173,"tag":198,"props":3378,"children":3379},{"style":217},[3380],{"type":178,"value":225},{"type":173,"tag":198,"props":3382,"children":3383},{"style":205},[3384],{"type":178,"value":230},{"type":173,"tag":198,"props":3386,"children":3387},{"style":205},[3388],{"type":178,"value":235},{"type":173,"tag":198,"props":3390,"children":3391},{"style":238},[3392],{"type":178,"value":241},{"type":173,"tag":198,"props":3394,"children":3395},{"style":205},[3396],{"type":178,"value":235},{"type":173,"tag":198,"props":3398,"children":3399},{"style":205},[3400],{"type":178,"value":250},{"type":173,"tag":198,"props":3402,"children":3403},{"class":200,"line":253},[3404,3408,3412],{"type":173,"tag":198,"props":3405,"children":3406},{"style":437},[3407],{"type":178,"value":2874},{"type":173,"tag":198,"props":3409,"children":3410},{"style":281},[3411],{"type":178,"value":1467},{"type":173,"tag":198,"props":3413,"children":3414},{"style":205},[3415],{"type":178,"value":1472},{"type":173,"tag":198,"props":3417,"children":3418},{"class":200,"line":267},[3419,3423,3427],{"type":173,"tag":198,"props":3420,"children":3421},{"style":211},[3422],{"type":178,"value":2890},{"type":173,"tag":198,"props":3424,"children":3425},{"style":205},[3426],{"type":178,"value":1435},{"type":173,"tag":198,"props":3428,"children":3429},{"style":205},[3430],{"type":178,"value":264},{"type":173,"tag":198,"props":3432,"children":3433},{"class":200,"line":277},[3434,3438,3442],{"type":173,"tag":198,"props":3435,"children":3436},{"style":211},[3437],{"type":178,"value":3026},{"type":173,"tag":198,"props":3439,"children":3440},{"style":205},[3441],{"type":178,"value":1435},{"type":173,"tag":198,"props":3443,"children":3444},{"style":205},[3445],{"type":178,"value":264},{"type":173,"tag":198,"props":3447,"children":3448},{"class":200,"line":292},[3449,3453,3457,3461,3465],{"type":173,"tag":198,"props":3450,"children":3451},{"style":211},[3452],{"type":178,"value":3265},{"type":173,"tag":198,"props":3454,"children":3455},{"style":205},[3456],{"type":178,"value":1435},{"type":173,"tag":198,"props":3458,"children":3459},{"style":205},[3460],{"type":178,"value":2573},{"type":173,"tag":198,"props":3462,"children":3463},{"style":238},[3464],{"type":178,"value":3278},{"type":173,"tag":198,"props":3466,"children":3467},{"style":205},[3468],{"type":178,"value":2583},{"type":173,"tag":198,"props":3470,"children":3471},{"class":200,"line":305},[3472],{"type":173,"tag":198,"props":3473,"children":3474},{"style":205},[3475],{"type":178,"value":3476},"    },\n",{"type":173,"tag":198,"props":3478,"children":3479},{"class":200,"line":318},[3480],{"type":173,"tag":198,"props":3481,"children":3482},{"style":271},[3483],{"type":178,"value":3484},"    // surround will use `{ _path: '/foo/bar' }`\n",{"type":173,"tag":198,"props":3486,"children":3487},{"class":200,"line":331},[3488],{"type":173,"tag":198,"props":3489,"children":3490},{"style":205},[3491],{"type":178,"value":1554},{"type":173,"tag":198,"props":3493,"children":3494},{"class":200,"line":340},[3495,3499],{"type":173,"tag":198,"props":3496,"children":3497},{"style":205},[3498],{"type":178,"value":429},{"type":173,"tag":198,"props":3500,"children":3501},{"style":281},[3502],{"type":178,"value":1566},{"type":173,"tag":198,"props":3504,"children":3505},{"class":200,"line":353},[3506,3510,3514],{"type":173,"tag":198,"props":3507,"children":3508},{"style":205},[3509],{"type":178,"value":454},{"type":173,"tag":198,"props":3511,"children":3512},{"style":211},[3513],{"type":178,"value":214},{"type":173,"tag":198,"props":3515,"children":3516},{"style":205},[3517],{"type":178,"value":250},{"type":173,"tag":1364,"props":3519,"children":3520},{},[3521],{"type":178,"value":1368},{"title":167,"searchDepth":253,"depth":253,"links":3523},[3524,3528,3531,3532,3533,3534],{"id":1402,"depth":253,"text":1405,"children":3525},[3526,3527],{"id":1409,"depth":267,"text":1412},{"id":1569,"depth":267,"text":1572},{"id":1679,"depth":253,"text":1682,"children":3529},[3530],{"id":1733,"depth":267,"text":1736},{"id":1931,"depth":253,"text":1934},{"id":2180,"depth":253,"text":2183},{"id":2413,"depth":253,"text":2416},{"id":2770,"depth":253,"text":2773,"children":3535},[3536,3537,3538],{"id":2787,"depth":267,"text":2790},{"id":2928,"depth":267,"text":2931},{"id":3102,"depth":267,"text":3105},"content:5.document-driven:1.introduction.md","5.document-driven/1.introduction.md",{"_path":108,"_dir":3542,"_draft":166,"_partial":166,"_locale":167,"title":107,"description":3543,"body":3544,"_type":1374,"_id":4453,"_source":1376,"_file":4454,"_extension":1378},"recipes","Nuxt Content exposes hooks to allow you to modify the content before it is parsed and after it is parsed.",{"type":170,"children":3545,"toc":4449},[3546,3551,3569,3581,3652,3661,3666,3674,3687,3695,3700,3991,4000,4005,4014,4026,4033,4038,4445],{"type":173,"tag":174,"props":3547,"children":3548},{},[3549],{"type":178,"value":3550},"The module adds some hooks you can use:",{"type":173,"tag":174,"props":3552,"children":3553},{},[3554,3559,3561,3568],{"type":173,"tag":181,"props":3555,"children":3556},{"className":167},[3557],{"type":178,"value":3558},"content:file:*",{"type":178,"value":3560}," hooks are available in nitro runtime, in order to use them you need to create a custom ",{"type":173,"tag":1250,"props":3562,"children":3565},{"href":3563,"rel":3564},"https://nitro.unjs.io/guide/plugins",[1692],[3566],{"type":178,"value":3567},"nitro plugin",{"type":178,"value":1676},{"type":173,"tag":174,"props":3570,"children":3571},{},[3572,3574,3579],{"type":178,"value":3573},"Create a plugin in the ",{"type":173,"tag":181,"props":3575,"children":3576},{"className":167},[3577],{"type":178,"value":3578},"server/plugins/",{"type":178,"value":3580}," directory",{"type":173,"tag":188,"props":3582,"children":3585},{"className":1439,"code":3583,"filename":3584,"language":241,"meta":167,"style":167},"export default defineNitroPlugin((nitroApp) => {\n  // ...\n})\n","server/plugins/content.ts",[3586],{"type":173,"tag":181,"props":3587,"children":3588},{"__ignoreMap":167},[3589,3633,3641],{"type":173,"tag":198,"props":3590,"children":3591},{"class":200,"line":201},[3592,3596,3600,3605,3609,3613,3619,3624,3629],{"type":173,"tag":198,"props":3593,"children":3594},{"style":1449},[3595],{"type":178,"value":1452},{"type":173,"tag":198,"props":3597,"children":3598},{"style":1449},[3599],{"type":178,"value":1457},{"type":173,"tag":198,"props":3601,"children":3602},{"style":437},[3603],{"type":178,"value":3604}," defineNitroPlugin",{"type":173,"tag":198,"props":3606,"children":3607},{"style":281},[3608],{"type":178,"value":1467},{"type":173,"tag":198,"props":3610,"children":3611},{"style":205},[3612],{"type":178,"value":1467},{"type":173,"tag":198,"props":3614,"children":3616},{"style":3615},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8;--shiki-light-font-style:italic;--shiki-default-font-style:italic;--shiki-dark-font-style:italic",[3617],{"type":178,"value":3618},"nitroApp",{"type":173,"tag":198,"props":3620,"children":3621},{"style":205},[3622],{"type":178,"value":3623},")",{"type":173,"tag":198,"props":3625,"children":3626},{"style":217},[3627],{"type":178,"value":3628}," =>",{"type":173,"tag":198,"props":3630,"children":3631},{"style":205},[3632],{"type":178,"value":264},{"type":173,"tag":198,"props":3634,"children":3635},{"class":200,"line":253},[3636],{"type":173,"tag":198,"props":3637,"children":3638},{"style":271},[3639],{"type":178,"value":3640},"  // ...\n",{"type":173,"tag":198,"props":3642,"children":3643},{"class":200,"line":267},[3644,3648],{"type":173,"tag":198,"props":3645,"children":3646},{"style":205},[3647],{"type":178,"value":429},{"type":173,"tag":198,"props":3649,"children":3650},{"style":281},[3651],{"type":178,"value":1566},{"type":173,"tag":464,"props":3653,"children":3655},{"id":3654},"contentfilebeforeparse",[3656],{"type":173,"tag":181,"props":3657,"children":3658},{"className":167},[3659],{"type":178,"value":3660},"content:file:beforeParse",{"type":173,"tag":174,"props":3662,"children":3663},{},[3664],{"type":178,"value":3665},"Allows you to modify the contents of a file before it is handled by the parsers.",{"type":173,"tag":174,"props":3667,"children":3668},{},[3669],{"type":173,"tag":2213,"props":3670,"children":3671},{},[3672],{"type":178,"value":3673},"Arguments:",{"type":173,"tag":1152,"props":3675,"children":3676},{},[3677],{"type":173,"tag":1190,"props":3678,"children":3679},{},[3680,3682],{"type":178,"value":3681},"file: ",{"type":173,"tag":181,"props":3683,"children":3684},{"className":167},[3685],{"type":178,"value":3686},"{ _id: string, body: string }",{"type":173,"tag":174,"props":3688,"children":3689},{},[3690],{"type":173,"tag":2213,"props":3691,"children":3692},{},[3693],{"type":178,"value":3694},"Example:",{"type":173,"tag":174,"props":3696,"children":3697},{},[3698],{"type":178,"value":3699},"Changing all occurrences of React to Vue in all Markdown files:",{"type":173,"tag":188,"props":3701,"children":3703},{"className":1439,"code":3702,"filename":3584,"language":241,"meta":167,"style":167},"export default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('content:file:beforeParse', (file) => {\n    if (file._id.endsWith('.md')) {\n      file.body = file.body.replace(/react/g, 'vue')\n    }\n  })\n})\n",[3704],{"type":173,"tag":181,"props":3705,"children":3706},{"__ignoreMap":167},[3707,3746,3814,3874,3961,3968,3980],{"type":173,"tag":198,"props":3708,"children":3709},{"class":200,"line":201},[3710,3714,3718,3722,3726,3730,3734,3738,3742],{"type":173,"tag":198,"props":3711,"children":3712},{"style":1449},[3713],{"type":178,"value":1452},{"type":173,"tag":198,"props":3715,"children":3716},{"style":1449},[3717],{"type":178,"value":1457},{"type":173,"tag":198,"props":3719,"children":3720},{"style":437},[3721],{"type":178,"value":3604},{"type":173,"tag":198,"props":3723,"children":3724},{"style":281},[3725],{"type":178,"value":1467},{"type":173,"tag":198,"props":3727,"children":3728},{"style":205},[3729],{"type":178,"value":1467},{"type":173,"tag":198,"props":3731,"children":3732},{"style":3615},[3733],{"type":178,"value":3618},{"type":173,"tag":198,"props":3735,"children":3736},{"style":205},[3737],{"type":178,"value":3623},{"type":173,"tag":198,"props":3739,"children":3740},{"style":217},[3741],{"type":178,"value":3628},{"type":173,"tag":198,"props":3743,"children":3744},{"style":205},[3745],{"type":178,"value":264},{"type":173,"tag":198,"props":3747,"children":3748},{"class":200,"line":253},[3749,3754,3758,3763,3767,3772,3776,3780,3784,3788,3792,3797,3802,3806,3810],{"type":173,"tag":198,"props":3750,"children":3751},{"style":281},[3752],{"type":178,"value":3753},"  nitroApp",{"type":173,"tag":198,"props":3755,"children":3756},{"style":205},[3757],{"type":178,"value":1676},{"type":173,"tag":198,"props":3759,"children":3760},{"style":281},[3761],{"type":178,"value":3762},"hooks",{"type":173,"tag":198,"props":3764,"children":3765},{"style":205},[3766],{"type":178,"value":1676},{"type":173,"tag":198,"props":3768,"children":3769},{"style":437},[3770],{"type":178,"value":3771},"hook",{"type":173,"tag":198,"props":3773,"children":3774},{"style":211},[3775],{"type":178,"value":1467},{"type":173,"tag":198,"props":3777,"children":3778},{"style":205},[3779],{"type":178,"value":1494},{"type":173,"tag":198,"props":3781,"children":3782},{"style":238},[3783],{"type":178,"value":3660},{"type":173,"tag":198,"props":3785,"children":3786},{"style":205},[3787],{"type":178,"value":1494},{"type":173,"tag":198,"props":3789,"children":3790},{"style":205},[3791],{"type":178,"value":745},{"type":173,"tag":198,"props":3793,"children":3794},{"style":205},[3795],{"type":178,"value":3796}," (",{"type":173,"tag":198,"props":3798,"children":3799},{"style":3615},[3800],{"type":178,"value":3801},"file",{"type":173,"tag":198,"props":3803,"children":3804},{"style":205},[3805],{"type":178,"value":3623},{"type":173,"tag":198,"props":3807,"children":3808},{"style":217},[3809],{"type":178,"value":3628},{"type":173,"tag":198,"props":3811,"children":3812},{"style":205},[3813],{"type":178,"value":264},{"type":173,"tag":198,"props":3815,"children":3816},{"class":200,"line":267},[3817,3822,3826,3830,3834,3839,3843,3848,3852,3856,3861,3865,3870],{"type":173,"tag":198,"props":3818,"children":3819},{"style":1449},[3820],{"type":178,"value":3821},"    if",{"type":173,"tag":198,"props":3823,"children":3824},{"style":211},[3825],{"type":178,"value":3796},{"type":173,"tag":198,"props":3827,"children":3828},{"style":281},[3829],{"type":178,"value":3801},{"type":173,"tag":198,"props":3831,"children":3832},{"style":205},[3833],{"type":178,"value":1676},{"type":173,"tag":198,"props":3835,"children":3836},{"style":281},[3837],{"type":178,"value":3838},"_id",{"type":173,"tag":198,"props":3840,"children":3841},{"style":205},[3842],{"type":178,"value":1676},{"type":173,"tag":198,"props":3844,"children":3845},{"style":437},[3846],{"type":178,"value":3847},"endsWith",{"type":173,"tag":198,"props":3849,"children":3850},{"style":211},[3851],{"type":178,"value":1467},{"type":173,"tag":198,"props":3853,"children":3854},{"style":205},[3855],{"type":178,"value":1494},{"type":173,"tag":198,"props":3857,"children":3858},{"style":238},[3859],{"type":178,"value":3860},".md",{"type":173,"tag":198,"props":3862,"children":3863},{"style":205},[3864],{"type":178,"value":1494},{"type":173,"tag":198,"props":3866,"children":3867},{"style":211},[3868],{"type":178,"value":3869},")) ",{"type":173,"tag":198,"props":3871,"children":3872},{"style":205},[3873],{"type":178,"value":1472},{"type":173,"tag":198,"props":3875,"children":3876},{"class":200,"line":277},[3877,3882,3886,3891,3895,3900,3904,3908,3912,3917,3921,3926,3931,3935,3941,3945,3949,3953,3957],{"type":173,"tag":198,"props":3878,"children":3879},{"style":281},[3880],{"type":178,"value":3881},"      file",{"type":173,"tag":198,"props":3883,"children":3884},{"style":205},[3885],{"type":178,"value":1676},{"type":173,"tag":198,"props":3887,"children":3888},{"style":281},[3889],{"type":178,"value":3890},"body",{"type":173,"tag":198,"props":3892,"children":3893},{"style":205},[3894],{"type":178,"value":434},{"type":173,"tag":198,"props":3896,"children":3897},{"style":281},[3898],{"type":178,"value":3899}," file",{"type":173,"tag":198,"props":3901,"children":3902},{"style":205},[3903],{"type":178,"value":1676},{"type":173,"tag":198,"props":3905,"children":3906},{"style":281},[3907],{"type":178,"value":3890},{"type":173,"tag":198,"props":3909,"children":3910},{"style":205},[3911],{"type":178,"value":1676},{"type":173,"tag":198,"props":3913,"children":3914},{"style":437},[3915],{"type":178,"value":3916},"replace",{"type":173,"tag":198,"props":3918,"children":3919},{"style":211},[3920],{"type":178,"value":1467},{"type":173,"tag":198,"props":3922,"children":3923},{"style":205},[3924],{"type":178,"value":3925},"/",{"type":173,"tag":198,"props":3927,"children":3928},{"style":238},[3929],{"type":178,"value":3930},"react",{"type":173,"tag":198,"props":3932,"children":3933},{"style":205},[3934],{"type":178,"value":3925},{"type":173,"tag":198,"props":3936,"children":3938},{"style":3937},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[3939],{"type":178,"value":3940},"g",{"type":173,"tag":198,"props":3942,"children":3943},{"style":205},[3944],{"type":178,"value":745},{"type":173,"tag":198,"props":3946,"children":3947},{"style":205},[3948],{"type":178,"value":2573},{"type":173,"tag":198,"props":3950,"children":3951},{"style":238},[3952],{"type":178,"value":192},{"type":173,"tag":198,"props":3954,"children":3955},{"style":205},[3956],{"type":178,"value":1494},{"type":173,"tag":198,"props":3958,"children":3959},{"style":211},[3960],{"type":178,"value":1566},{"type":173,"tag":198,"props":3962,"children":3963},{"class":200,"line":292},[3964],{"type":173,"tag":198,"props":3965,"children":3966},{"style":205},[3967],{"type":178,"value":2129},{"type":173,"tag":198,"props":3969,"children":3970},{"class":200,"line":305},[3971,3976],{"type":173,"tag":198,"props":3972,"children":3973},{"style":205},[3974],{"type":178,"value":3975},"  }",{"type":173,"tag":198,"props":3977,"children":3978},{"style":211},[3979],{"type":178,"value":1566},{"type":173,"tag":198,"props":3981,"children":3982},{"class":200,"line":318},[3983,3987],{"type":173,"tag":198,"props":3984,"children":3985},{"style":205},[3986],{"type":178,"value":429},{"type":173,"tag":198,"props":3988,"children":3989},{"style":281},[3990],{"type":178,"value":1566},{"type":173,"tag":464,"props":3992,"children":3994},{"id":3993},"contentfileafterparse",[3995],{"type":173,"tag":181,"props":3996,"children":3997},{"className":167},[3998],{"type":178,"value":3999},"content:file:afterParse",{"type":173,"tag":174,"props":4001,"children":4002},{},[4003],{"type":178,"value":4004},"Allows you to modify a document after being parsed by parsers.",{"type":173,"tag":174,"props":4006,"children":4007},{},[4008,4013],{"type":173,"tag":2213,"props":4009,"children":4010},{},[4011],{"type":178,"value":4012},"Arguments",{"type":178,"value":1435},{"type":173,"tag":1152,"props":4015,"children":4016},{},[4017],{"type":173,"tag":1190,"props":4018,"children":4019},{},[4020,4021],{"type":178,"value":3681},{"type":173,"tag":181,"props":4022,"children":4023},{"className":167},[4024],{"type":178,"value":4025},"{ _id: string, body: any }",{"type":173,"tag":174,"props":4027,"children":4028},{},[4029],{"type":173,"tag":2213,"props":4030,"children":4031},{},[4032],{"type":178,"value":3694},{"type":173,"tag":174,"props":4034,"children":4035},{},[4036],{"type":178,"value":4037},"Using content's first picture as cover image.",{"type":173,"tag":188,"props":4039,"children":4041},{"className":1439,"code":4040,"filename":3584,"language":241,"meta":167,"style":167},"import { visit } from 'unist-util-visit'\n\nexport default defineNitroPlugin((nitroApp) => {\n  nitroApp.hooks.hook('content:file:afterParse', (file) => {\n    if (file._id.endsWith('.md')) {\n      visit(file.body, (n: any) => n.tag === 'img', (node) => {\n        file.coverImage = node.props.src\n      })\n    }\n  })\n})\n\n",[4042],{"type":173,"tag":181,"props":4043,"children":4044},{"__ignoreMap":167},[4045,4085,4092,4131,4194,4249,4360,4404,4416,4423,4434],{"type":173,"tag":198,"props":4046,"children":4047},{"class":200,"line":201},[4048,4053,4057,4062,4067,4072,4076,4081],{"type":173,"tag":198,"props":4049,"children":4050},{"style":1449},[4051],{"type":178,"value":4052},"import",{"type":173,"tag":198,"props":4054,"children":4055},{"style":205},[4056],{"type":178,"value":533},{"type":173,"tag":198,"props":4058,"children":4059},{"style":281},[4060],{"type":178,"value":4061}," visit",{"type":173,"tag":198,"props":4063,"children":4064},{"style":205},[4065],{"type":178,"value":4066}," }",{"type":173,"tag":198,"props":4068,"children":4069},{"style":1449},[4070],{"type":178,"value":4071}," from",{"type":173,"tag":198,"props":4073,"children":4074},{"style":205},[4075],{"type":178,"value":2573},{"type":173,"tag":198,"props":4077,"children":4078},{"style":238},[4079],{"type":178,"value":4080},"unist-util-visit",{"type":173,"tag":198,"props":4082,"children":4083},{"style":205},[4084],{"type":178,"value":2583},{"type":173,"tag":198,"props":4086,"children":4087},{"class":200,"line":253},[4088],{"type":173,"tag":198,"props":4089,"children":4090},{"emptyLinePlaceholder":575},[4091],{"type":178,"value":578},{"type":173,"tag":198,"props":4093,"children":4094},{"class":200,"line":267},[4095,4099,4103,4107,4111,4115,4119,4123,4127],{"type":173,"tag":198,"props":4096,"children":4097},{"style":1449},[4098],{"type":178,"value":1452},{"type":173,"tag":198,"props":4100,"children":4101},{"style":1449},[4102],{"type":178,"value":1457},{"type":173,"tag":198,"props":4104,"children":4105},{"style":437},[4106],{"type":178,"value":3604},{"type":173,"tag":198,"props":4108,"children":4109},{"style":281},[4110],{"type":178,"value":1467},{"type":173,"tag":198,"props":4112,"children":4113},{"style":205},[4114],{"type":178,"value":1467},{"type":173,"tag":198,"props":4116,"children":4117},{"style":3615},[4118],{"type":178,"value":3618},{"type":173,"tag":198,"props":4120,"children":4121},{"style":205},[4122],{"type":178,"value":3623},{"type":173,"tag":198,"props":4124,"children":4125},{"style":217},[4126],{"type":178,"value":3628},{"type":173,"tag":198,"props":4128,"children":4129},{"style":205},[4130],{"type":178,"value":264},{"type":173,"tag":198,"props":4132,"children":4133},{"class":200,"line":277},[4134,4138,4142,4146,4150,4154,4158,4162,4166,4170,4174,4178,4182,4186,4190],{"type":173,"tag":198,"props":4135,"children":4136},{"style":281},[4137],{"type":178,"value":3753},{"type":173,"tag":198,"props":4139,"children":4140},{"style":205},[4141],{"type":178,"value":1676},{"type":173,"tag":198,"props":4143,"children":4144},{"style":281},[4145],{"type":178,"value":3762},{"type":173,"tag":198,"props":4147,"children":4148},{"style":205},[4149],{"type":178,"value":1676},{"type":173,"tag":198,"props":4151,"children":4152},{"style":437},[4153],{"type":178,"value":3771},{"type":173,"tag":198,"props":4155,"children":4156},{"style":211},[4157],{"type":178,"value":1467},{"type":173,"tag":198,"props":4159,"children":4160},{"style":205},[4161],{"type":178,"value":1494},{"type":173,"tag":198,"props":4163,"children":4164},{"style":238},[4165],{"type":178,"value":3999},{"type":173,"tag":198,"props":4167,"children":4168},{"style":205},[4169],{"type":178,"value":1494},{"type":173,"tag":198,"props":4171,"children":4172},{"style":205},[4173],{"type":178,"value":745},{"type":173,"tag":198,"props":4175,"children":4176},{"style":205},[4177],{"type":178,"value":3796},{"type":173,"tag":198,"props":4179,"children":4180},{"style":3615},[4181],{"type":178,"value":3801},{"type":173,"tag":198,"props":4183,"children":4184},{"style":205},[4185],{"type":178,"value":3623},{"type":173,"tag":198,"props":4187,"children":4188},{"style":217},[4189],{"type":178,"value":3628},{"type":173,"tag":198,"props":4191,"children":4192},{"style":205},[4193],{"type":178,"value":264},{"type":173,"tag":198,"props":4195,"children":4196},{"class":200,"line":292},[4197,4201,4205,4209,4213,4217,4221,4225,4229,4233,4237,4241,4245],{"type":173,"tag":198,"props":4198,"children":4199},{"style":1449},[4200],{"type":178,"value":3821},{"type":173,"tag":198,"props":4202,"children":4203},{"style":211},[4204],{"type":178,"value":3796},{"type":173,"tag":198,"props":4206,"children":4207},{"style":281},[4208],{"type":178,"value":3801},{"type":173,"tag":198,"props":4210,"children":4211},{"style":205},[4212],{"type":178,"value":1676},{"type":173,"tag":198,"props":4214,"children":4215},{"style":281},[4216],{"type":178,"value":3838},{"type":173,"tag":198,"props":4218,"children":4219},{"style":205},[4220],{"type":178,"value":1676},{"type":173,"tag":198,"props":4222,"children":4223},{"style":437},[4224],{"type":178,"value":3847},{"type":173,"tag":198,"props":4226,"children":4227},{"style":211},[4228],{"type":178,"value":1467},{"type":173,"tag":198,"props":4230,"children":4231},{"style":205},[4232],{"type":178,"value":1494},{"type":173,"tag":198,"props":4234,"children":4235},{"style":238},[4236],{"type":178,"value":3860},{"type":173,"tag":198,"props":4238,"children":4239},{"style":205},[4240],{"type":178,"value":1494},{"type":173,"tag":198,"props":4242,"children":4243},{"style":211},[4244],{"type":178,"value":3869},{"type":173,"tag":198,"props":4246,"children":4247},{"style":205},[4248],{"type":178,"value":1472},{"type":173,"tag":198,"props":4250,"children":4251},{"class":200,"line":305},[4252,4257,4261,4265,4269,4273,4277,4281,4286,4290,4295,4299,4303,4308,4312,4317,4322,4326,4331,4335,4339,4343,4348,4352,4356],{"type":173,"tag":198,"props":4253,"children":4254},{"style":437},[4255],{"type":178,"value":4256},"      visit",{"type":173,"tag":198,"props":4258,"children":4259},{"style":211},[4260],{"type":178,"value":1467},{"type":173,"tag":198,"props":4262,"children":4263},{"style":281},[4264],{"type":178,"value":3801},{"type":173,"tag":198,"props":4266,"children":4267},{"style":205},[4268],{"type":178,"value":1676},{"type":173,"tag":198,"props":4270,"children":4271},{"style":281},[4272],{"type":178,"value":3890},{"type":173,"tag":198,"props":4274,"children":4275},{"style":205},[4276],{"type":178,"value":745},{"type":173,"tag":198,"props":4278,"children":4279},{"style":205},[4280],{"type":178,"value":3796},{"type":173,"tag":198,"props":4282,"children":4283},{"style":3615},[4284],{"type":178,"value":4285},"n",{"type":173,"tag":198,"props":4287,"children":4288},{"style":205},[4289],{"type":178,"value":1435},{"type":173,"tag":198,"props":4291,"children":4292},{"style":1597},[4293],{"type":178,"value":4294}," any",{"type":173,"tag":198,"props":4296,"children":4297},{"style":205},[4298],{"type":178,"value":3623},{"type":173,"tag":198,"props":4300,"children":4301},{"style":217},[4302],{"type":178,"value":3628},{"type":173,"tag":198,"props":4304,"children":4305},{"style":281},[4306],{"type":178,"value":4307}," n",{"type":173,"tag":198,"props":4309,"children":4310},{"style":205},[4311],{"type":178,"value":1676},{"type":173,"tag":198,"props":4313,"children":4314},{"style":281},[4315],{"type":178,"value":4316},"tag",{"type":173,"tag":198,"props":4318,"children":4319},{"style":205},[4320],{"type":178,"value":4321}," ===",{"type":173,"tag":198,"props":4323,"children":4324},{"style":205},[4325],{"type":178,"value":2573},{"type":173,"tag":198,"props":4327,"children":4328},{"style":238},[4329],{"type":178,"value":4330},"img",{"type":173,"tag":198,"props":4332,"children":4333},{"style":205},[4334],{"type":178,"value":1494},{"type":173,"tag":198,"props":4336,"children":4337},{"style":205},[4338],{"type":178,"value":745},{"type":173,"tag":198,"props":4340,"children":4341},{"style":205},[4342],{"type":178,"value":3796},{"type":173,"tag":198,"props":4344,"children":4345},{"style":3615},[4346],{"type":178,"value":4347},"node",{"type":173,"tag":198,"props":4349,"children":4350},{"style":205},[4351],{"type":178,"value":3623},{"type":173,"tag":198,"props":4353,"children":4354},{"style":217},[4355],{"type":178,"value":3628},{"type":173,"tag":198,"props":4357,"children":4358},{"style":205},[4359],{"type":178,"value":264},{"type":173,"tag":198,"props":4361,"children":4362},{"class":200,"line":318},[4363,4368,4372,4377,4381,4386,4390,4395,4399],{"type":173,"tag":198,"props":4364,"children":4365},{"style":281},[4366],{"type":178,"value":4367},"        file",{"type":173,"tag":198,"props":4369,"children":4370},{"style":205},[4371],{"type":178,"value":1676},{"type":173,"tag":198,"props":4373,"children":4374},{"style":281},[4375],{"type":178,"value":4376},"coverImage",{"type":173,"tag":198,"props":4378,"children":4379},{"style":205},[4380],{"type":178,"value":434},{"type":173,"tag":198,"props":4382,"children":4383},{"style":281},[4384],{"type":178,"value":4385}," node",{"type":173,"tag":198,"props":4387,"children":4388},{"style":205},[4389],{"type":178,"value":1676},{"type":173,"tag":198,"props":4391,"children":4392},{"style":281},[4393],{"type":178,"value":4394},"props",{"type":173,"tag":198,"props":4396,"children":4397},{"style":205},[4398],{"type":178,"value":1676},{"type":173,"tag":198,"props":4400,"children":4401},{"style":281},[4402],{"type":178,"value":4403},"src\n",{"type":173,"tag":198,"props":4405,"children":4406},{"class":200,"line":331},[4407,4412],{"type":173,"tag":198,"props":4408,"children":4409},{"style":205},[4410],{"type":178,"value":4411},"      }",{"type":173,"tag":198,"props":4413,"children":4414},{"style":211},[4415],{"type":178,"value":1566},{"type":173,"tag":198,"props":4417,"children":4418},{"class":200,"line":340},[4419],{"type":173,"tag":198,"props":4420,"children":4421},{"style":205},[4422],{"type":178,"value":2129},{"type":173,"tag":198,"props":4424,"children":4425},{"class":200,"line":353},[4426,4430],{"type":173,"tag":198,"props":4427,"children":4428},{"style":205},[4429],{"type":178,"value":3975},{"type":173,"tag":198,"props":4431,"children":4432},{"style":211},[4433],{"type":178,"value":1566},{"type":173,"tag":198,"props":4435,"children":4436},{"class":200,"line":366},[4437,4441],{"type":173,"tag":198,"props":4438,"children":4439},{"style":205},[4440],{"type":178,"value":429},{"type":173,"tag":198,"props":4442,"children":4443},{"style":281},[4444],{"type":178,"value":1566},{"type":173,"tag":1364,"props":4446,"children":4447},{},[4448],{"type":178,"value":1368},{"title":167,"searchDepth":253,"depth":253,"links":4450},[4451,4452],{"id":3654,"depth":253,"text":3660},{"id":3993,"depth":253,"text":3999},"content:6.recipes:1.hooks.md","6.recipes/1.hooks.md",1699441214688]