[{"data":1,"prerenderedAt":1937},["Reactive",2],{"navigation":3,"docs-/composables/use-unwrap":158,"docs-/composables/use-unwrap-surround":652},[4,20,42,61,86,96,109],{"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],{"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},"Fetch Navigation","/usage/navigation",{"title":40,"_path":41},"TypeScript Support","/usage/typescript",{"title":43,"_path":44,"children":45},"Composables","/composables",[46,49,52,55,58],{"title":47,"_path":48},"queryContent()","/composables/query-content",{"title":50,"_path":51},"fetchContentNavigation()","/composables/fetch-content-navigation",{"title":53,"_path":54},"useContentHead()","/composables/use-content-head",{"title":56,"_path":57},"useContentHelpers()","/composables/use-content-helpers",{"title":59,"_path":60},"useUnwrap()","/composables/use-unwrap",{"title":62,"_path":63,"children":64},"Components","/components",[65,68,71,74,77,80,83],{"title":66,"_path":67},"\u003CContentDoc>","/components/content-doc",{"title":69,"_path":70},"\u003CContentRenderer>","/components/content-renderer",{"title":72,"_path":73},"\u003CContentList>","/components/content-list",{"title":75,"_path":76},"\u003CContentNavigation>","/components/content-navigation",{"title":78,"_path":79},"\u003CContentQuery>","/components/content-query",{"title":81,"_path":82},"\u003CContentSlot>","/components/content-slot",{"title":84,"_path":85},"Prose Components","/components/prose",{"title":87,"_path":88,"children":89},"Document Driven","/document-driven",[90,93],{"title":91,"_path":92},"Introduction","/document-driven/introduction",{"title":94,"_path":95},"useContent()","/document-driven/use-content",{"title":97,"_path":98,"children":99},"Recipes","/recipes",[100,103,106],{"title":101,"_path":102},"Hooks","/recipes/hooks",{"title":104,"_path":105},"Transformers","/recipes/transformers",{"title":107,"_path":108},"Sitemap","/recipes/sitemap",{"title":110,"_path":111,"children":112},"V1","/v1",[113,135,148],{"title":114,"_path":115,"children":116},"Getting Started","/v1/getting-started",[117,119,121,124,127,130,132],{"title":91,"_path":118},"/v1/getting-started/introduction",{"title":9,"_path":120},"/v1/getting-started/installation",{"title":122,"_path":123},"Writing content","/v1/getting-started/writing",{"title":125,"_path":126},"Fetching content","/v1/getting-started/fetching",{"title":128,"_path":129},"Displaying content","/v1/getting-started/displaying",{"title":12,"_path":131},"/v1/getting-started/configuration",{"title":133,"_path":134},"Advanced","/v1/getting-started/advanced",{"title":136,"_path":137,"children":138},"Examples","/v1/examples",[139,142,145],{"title":140,"_path":141},"Basic Usage","/v1/examples/basic",{"title":143,"_path":144},"TailwindCSS","/v1/examples/tailwindcss-typography",{"title":146,"_path":147},"Docs Theme","/v1/examples/docs-theme",{"title":149,"_path":150,"children":151},"Community","/v1/community",[152,155],{"title":153,"_path":154},"Snippets","/v1/community/snippets",{"title":156,"_path":157},"Integrations","/v1/community/integrations",{"_path":60,"_dir":159,"_draft":160,"_partial":160,"_locale":161,"title":59,"description":162,"body":163,"_type":647,"_id":648,"_source":649,"_file":650,"_extension":651},"composables",false,"","A composable to unwrap slots, for advanced usage.",{"type":164,"children":165,"toc":645},"root",[166,195,200,639],{"type":167,"tag":168,"props":169,"children":170},"element","p",{},[171,174,187,189,193],{"type":172,"value":173},"text","It can be used to achieve a similar behavior as ",{"type":167,"tag":175,"props":176,"children":178},"a",{"href":177},"/components/content-slot#props",[179,185],{"type":167,"tag":180,"props":181,"children":182},"code",{},[183],{"type":172,"value":184},"unwrap",{"type":172,"value":186}," prop",{"type":172,"value":188}," from ",{"type":167,"tag":180,"props":190,"children":191},{},[192],{"type":172,"value":81},{"type":172,"value":194}," component.",{"type":167,"tag":168,"props":196,"children":197},{},[198],{"type":172,"value":199},"Example:",{"type":167,"tag":201,"props":202,"children":206},"pre",{"className":203,"code":204,"language":205,"meta":161},"language-vue solarized-light_dark-plus_material-theme-lighter","\u003Cscript setup lang=\"ts\">\nconst { flatUnwrap } = useUnwrap()\n\n\u003C/script>\n\n\u003Ctemplate>\n  \u003Cul>\n    \u003Cli v-for=\"(item, index) of flatUnwrap($slots.default!(), ['ul'])\" :key=\"index\">\n      ☑︎\n      \u003Cspan>\u003CContentSlot :use=\"() => item\" unwrap=\"li\" />\u003C/span>\n    \u003C/li>\n  \u003C/ul>\n\u003C/template>\n","vue",[207],{"type":167,"tag":180,"props":208,"children":209},{"__ignoreMap":161},[210,276,338,345,362,369,386,408,482,491,582,602,622],{"type":167,"tag":211,"props":212,"children":215},"span",{"class":213,"line":214},"line",1,[216,222,228,234,240,244,249,255,261,267,271],{"type":167,"tag":211,"props":217,"children":219},{"class":218},"ct-578153",[220],{"type":172,"value":221},"\u003C",{"type":167,"tag":211,"props":223,"children":225},{"class":224},"ct-952042",[226],{"type":172,"value":227},"script",{"type":167,"tag":211,"props":229,"children":231},{"class":230},"ct-916772",[232],{"type":172,"value":233}," ",{"type":167,"tag":211,"props":235,"children":237},{"class":236},"ct-303788",[238],{"type":172,"value":239},"setup",{"type":167,"tag":211,"props":241,"children":242},{"class":230},[243],{"type":172,"value":233},{"type":167,"tag":211,"props":245,"children":246},{"class":236},[247],{"type":172,"value":248},"lang",{"type":167,"tag":211,"props":250,"children":252},{"class":251},"ct-001462",[253],{"type":172,"value":254},"=",{"type":167,"tag":211,"props":256,"children":258},{"class":257},"ct-659886",[259],{"type":172,"value":260},"\"",{"type":167,"tag":211,"props":262,"children":264},{"class":263},"ct-084644",[265],{"type":172,"value":266},"ts",{"type":167,"tag":211,"props":268,"children":269},{"class":257},[270],{"type":172,"value":260},{"type":167,"tag":211,"props":272,"children":273},{"class":218},[274],{"type":172,"value":275},">\n",{"type":167,"tag":211,"props":277,"children":279},{"class":213,"line":278},2,[280,286,290,295,299,305,309,314,318,323,327,333],{"type":167,"tag":211,"props":281,"children":283},{"class":282},"ct-696419",[284],{"type":172,"value":285},"const",{"type":167,"tag":211,"props":287,"children":288},{"class":230},[289],{"type":172,"value":233},{"type":167,"tag":211,"props":291,"children":292},{"class":251},[293],{"type":172,"value":294},"{",{"type":167,"tag":211,"props":296,"children":297},{"class":230},[298],{"type":172,"value":233},{"type":167,"tag":211,"props":300,"children":302},{"class":301},"ct-263069",[303],{"type":172,"value":304},"flatUnwrap",{"type":167,"tag":211,"props":306,"children":307},{"class":230},[308],{"type":172,"value":233},{"type":167,"tag":211,"props":310,"children":311},{"class":251},[312],{"type":172,"value":313},"}",{"type":167,"tag":211,"props":315,"children":316},{"class":230},[317],{"type":172,"value":233},{"type":167,"tag":211,"props":319,"children":321},{"class":320},"ct-773118",[322],{"type":172,"value":254},{"type":167,"tag":211,"props":324,"children":325},{"class":230},[326],{"type":172,"value":233},{"type":167,"tag":211,"props":328,"children":330},{"class":329},"ct-187170",[331],{"type":172,"value":332},"useUnwrap",{"type":167,"tag":211,"props":334,"children":335},{"class":230},[336],{"type":172,"value":337},"()\n",{"type":167,"tag":211,"props":339,"children":341},{"class":213,"line":340},3,[342],{"type":167,"tag":211,"props":343,"children":344},{},[],{"type":167,"tag":211,"props":346,"children":348},{"class":213,"line":347},4,[349,354,358],{"type":167,"tag":211,"props":350,"children":351},{"class":218},[352],{"type":172,"value":353},"\u003C/",{"type":167,"tag":211,"props":355,"children":356},{"class":224},[357],{"type":172,"value":227},{"type":167,"tag":211,"props":359,"children":360},{"class":218},[361],{"type":172,"value":275},{"type":167,"tag":211,"props":363,"children":365},{"class":213,"line":364},5,[366],{"type":167,"tag":211,"props":367,"children":368},{},[],{"type":167,"tag":211,"props":370,"children":372},{"class":213,"line":371},6,[373,377,382],{"type":167,"tag":211,"props":374,"children":375},{"class":218},[376],{"type":172,"value":221},{"type":167,"tag":211,"props":378,"children":379},{"class":224},[380],{"type":172,"value":381},"template",{"type":167,"tag":211,"props":383,"children":384},{"class":218},[385],{"type":172,"value":275},{"type":167,"tag":211,"props":387,"children":389},{"class":213,"line":388},7,[390,395,399,404],{"type":167,"tag":211,"props":391,"children":392},{"class":230},[393],{"type":172,"value":394},"  ",{"type":167,"tag":211,"props":396,"children":397},{"class":218},[398],{"type":172,"value":221},{"type":167,"tag":211,"props":400,"children":401},{"class":224},[402],{"type":172,"value":403},"ul",{"type":167,"tag":211,"props":405,"children":406},{"class":218},[407],{"type":172,"value":275},{"type":167,"tag":211,"props":409,"children":411},{"class":213,"line":410},8,[412,417,421,426,430,435,439,443,448,452,456,461,465,469,474,478],{"type":167,"tag":211,"props":413,"children":414},{"class":230},[415],{"type":172,"value":416},"    ",{"type":167,"tag":211,"props":418,"children":419},{"class":218},[420],{"type":172,"value":221},{"type":167,"tag":211,"props":422,"children":423},{"class":224},[424],{"type":172,"value":425},"li",{"type":167,"tag":211,"props":427,"children":428},{"class":251},[429],{"type":172,"value":233},{"type":167,"tag":211,"props":431,"children":432},{"class":236},[433],{"type":172,"value":434},"v-for",{"type":167,"tag":211,"props":436,"children":437},{"class":251},[438],{"type":172,"value":254},{"type":167,"tag":211,"props":440,"children":441},{"class":257},[442],{"type":172,"value":260},{"type":167,"tag":211,"props":444,"children":445},{"class":263},[446],{"type":172,"value":447},"(item, index) of flatUnwrap($slots.default!(), ['ul'])",{"type":167,"tag":211,"props":449,"children":450},{"class":257},[451],{"type":172,"value":260},{"type":167,"tag":211,"props":453,"children":454},{"class":251},[455],{"type":172,"value":233},{"type":167,"tag":211,"props":457,"children":458},{"class":236},[459],{"type":172,"value":460},":key",{"type":167,"tag":211,"props":462,"children":463},{"class":251},[464],{"type":172,"value":254},{"type":167,"tag":211,"props":466,"children":467},{"class":257},[468],{"type":172,"value":260},{"type":167,"tag":211,"props":470,"children":471},{"class":263},[472],{"type":172,"value":473},"index",{"type":167,"tag":211,"props":475,"children":476},{"class":257},[477],{"type":172,"value":260},{"type":167,"tag":211,"props":479,"children":480},{"class":218},[481],{"type":172,"value":275},{"type":167,"tag":211,"props":483,"children":485},{"class":213,"line":484},9,[486],{"type":167,"tag":211,"props":487,"children":488},{"class":230},[489],{"type":172,"value":490},"      ☑︎\n",{"type":167,"tag":211,"props":492,"children":494},{"class":213,"line":493},10,[495,500,504,508,513,519,523,528,532,536,541,545,549,553,557,561,565,569,574,578],{"type":167,"tag":211,"props":496,"children":497},{"class":230},[498],{"type":172,"value":499},"      ",{"type":167,"tag":211,"props":501,"children":502},{"class":218},[503],{"type":172,"value":221},{"type":167,"tag":211,"props":505,"children":506},{"class":224},[507],{"type":172,"value":211},{"type":167,"tag":211,"props":509,"children":510},{"class":218},[511],{"type":172,"value":512},">\u003C",{"type":167,"tag":211,"props":514,"children":516},{"class":515},"ct-822391",[517],{"type":172,"value":518},"ContentSlot",{"type":167,"tag":211,"props":520,"children":521},{"class":251},[522],{"type":172,"value":233},{"type":167,"tag":211,"props":524,"children":525},{"class":236},[526],{"type":172,"value":527},":use",{"type":167,"tag":211,"props":529,"children":530},{"class":251},[531],{"type":172,"value":254},{"type":167,"tag":211,"props":533,"children":534},{"class":257},[535],{"type":172,"value":260},{"type":167,"tag":211,"props":537,"children":538},{"class":263},[539],{"type":172,"value":540},"() => item",{"type":167,"tag":211,"props":542,"children":543},{"class":257},[544],{"type":172,"value":260},{"type":167,"tag":211,"props":546,"children":547},{"class":251},[548],{"type":172,"value":233},{"type":167,"tag":211,"props":550,"children":551},{"class":236},[552],{"type":172,"value":184},{"type":167,"tag":211,"props":554,"children":555},{"class":251},[556],{"type":172,"value":254},{"type":167,"tag":211,"props":558,"children":559},{"class":257},[560],{"type":172,"value":260},{"type":167,"tag":211,"props":562,"children":563},{"class":263},[564],{"type":172,"value":425},{"type":167,"tag":211,"props":566,"children":567},{"class":257},[568],{"type":172,"value":260},{"type":167,"tag":211,"props":570,"children":571},{"class":218},[572],{"type":172,"value":573}," />\u003C/",{"type":167,"tag":211,"props":575,"children":576},{"class":224},[577],{"type":172,"value":211},{"type":167,"tag":211,"props":579,"children":580},{"class":218},[581],{"type":172,"value":275},{"type":167,"tag":211,"props":583,"children":585},{"class":213,"line":584},11,[586,590,594,598],{"type":167,"tag":211,"props":587,"children":588},{"class":230},[589],{"type":172,"value":416},{"type":167,"tag":211,"props":591,"children":592},{"class":218},[593],{"type":172,"value":353},{"type":167,"tag":211,"props":595,"children":596},{"class":224},[597],{"type":172,"value":425},{"type":167,"tag":211,"props":599,"children":600},{"class":218},[601],{"type":172,"value":275},{"type":167,"tag":211,"props":603,"children":605},{"class":213,"line":604},12,[606,610,614,618],{"type":167,"tag":211,"props":607,"children":608},{"class":230},[609],{"type":172,"value":394},{"type":167,"tag":211,"props":611,"children":612},{"class":218},[613],{"type":172,"value":353},{"type":167,"tag":211,"props":615,"children":616},{"class":224},[617],{"type":172,"value":403},{"type":167,"tag":211,"props":619,"children":620},{"class":218},[621],{"type":172,"value":275},{"type":167,"tag":211,"props":623,"children":625},{"class":213,"line":624},13,[626,630,634],{"type":167,"tag":211,"props":627,"children":628},{"class":218},[629],{"type":172,"value":353},{"type":167,"tag":211,"props":631,"children":632},{"class":224},[633],{"type":172,"value":381},{"type":167,"tag":211,"props":635,"children":636},{"class":218},[637],{"type":172,"value":638},">",{"type":167,"tag":640,"props":641,"children":642},"style",{},[643],{"type":172,"value":644},".solarized-light_dark-plus_material-theme-lighter{color:#657B83;background:#FDF6E3;}.dark .solarized-light_dark-plus_material-theme-lighter{color:#D4D4D4;background:#1E1E1E;}.light .solarized-light_dark-plus_material-theme-lighter{color:#90A4AE;background:#FAFAFA;}.ct-578153{color:#93A1A1;}.dark .ct-578153{color:#808080;}.light .ct-578153{color:#39ADB5;}.ct-952042{color:#268BD2;}.dark .ct-952042{color:#569CD6;}.light .ct-952042{color:#E53935;}.ct-916772{color:#657B83;}.dark .ct-916772{color:#D4D4D4;}.light .ct-916772{color:#90A4AE;}.ct-303788{color:#93A1A1;}.dark .ct-303788{color:#9CDCFE;}.light .ct-303788{color:#9C3EDA;}.ct-001462{color:#657B83;}.dark .ct-001462{color:#D4D4D4;}.light .ct-001462{color:#39ADB5;}.ct-659886{color:#2AA198;}.dark .ct-659886{color:#CE9178;}.light .ct-659886{color:#39ADB5;}.ct-084644{color:#2AA198;}.dark .ct-084644{color:#CE9178;}.light .ct-084644{color:#91B859;}.ct-696419{color:#586E75;font-weight:bold;}.dark .ct-696419{color:#569CD6;font-weight:unset;}.light .ct-696419{color:#9C3EDA;font-weight:unset;}.ct-263069{color:#268BD2;}.dark .ct-263069{color:#4FC1FF;}.light .ct-263069{color:#90A4AE;}.ct-773118{color:#859900;}.dark .ct-773118{color:#D4D4D4;}.light .ct-773118{color:#39ADB5;}.ct-187170{color:#268BD2;}.dark .ct-187170{color:#DCDCAA;}.light .ct-187170{color:#6182B8;}.ct-822391{color:#DC322F;}.dark .ct-822391{color:#F44747;}.light .ct-822391{color:#E53935;}",{"title":161,"searchDepth":278,"depth":278,"links":646},[],"markdown","content:3.composables:5.use-unwrap.md","content","3.composables/5.use-unwrap.md","md",[653,1625],{"_path":57,"_dir":159,"_draft":160,"_partial":160,"_locale":161,"title":56,"description":654,"body":655,"_type":647,"_id":1623,"_source":649,"_file":1624,"_extension":651},"Helpers to interact with the navigation object.",{"type":164,"children":656,"toc":1616},[657,663,837,849,858,863,868,991,1000,1005,1010,1190,1199,1204,1209,1386,1395,1400,1412,1611],{"type":167,"tag":658,"props":659,"children":661},"h2",{"id":660},"usage",[662],{"type":172,"value":21},{"type":167,"tag":201,"props":664,"children":666},{"className":203,"code":665,"language":205,"meta":161},"\u003Cscript setup lang=\"ts\">\nconst {\n  navBottomLink,\n  navDirFromPath,\n  navPageFromPath,\n  navKeyFromPath\n} = useContentHelpers()\n\u003C/script>\n",[667],{"type":167,"tag":180,"props":668,"children":669},{"__ignoreMap":161},[670,717,733,750,766,782,794,822],{"type":167,"tag":211,"props":671,"children":672},{"class":213,"line":214},[673,677,681,685,689,693,697,701,705,709,713],{"type":167,"tag":211,"props":674,"children":675},{"class":218},[676],{"type":172,"value":221},{"type":167,"tag":211,"props":678,"children":679},{"class":224},[680],{"type":172,"value":227},{"type":167,"tag":211,"props":682,"children":683},{"class":230},[684],{"type":172,"value":233},{"type":167,"tag":211,"props":686,"children":687},{"class":236},[688],{"type":172,"value":239},{"type":167,"tag":211,"props":690,"children":691},{"class":230},[692],{"type":172,"value":233},{"type":167,"tag":211,"props":694,"children":695},{"class":236},[696],{"type":172,"value":248},{"type":167,"tag":211,"props":698,"children":699},{"class":251},[700],{"type":172,"value":254},{"type":167,"tag":211,"props":702,"children":703},{"class":257},[704],{"type":172,"value":260},{"type":167,"tag":211,"props":706,"children":707},{"class":263},[708],{"type":172,"value":266},{"type":167,"tag":211,"props":710,"children":711},{"class":257},[712],{"type":172,"value":260},{"type":167,"tag":211,"props":714,"children":715},{"class":218},[716],{"type":172,"value":275},{"type":167,"tag":211,"props":718,"children":719},{"class":213,"line":278},[720,724,728],{"type":167,"tag":211,"props":721,"children":722},{"class":282},[723],{"type":172,"value":285},{"type":167,"tag":211,"props":725,"children":726},{"class":230},[727],{"type":172,"value":233},{"type":167,"tag":211,"props":729,"children":730},{"class":251},[731],{"type":172,"value":732},"{\n",{"type":167,"tag":211,"props":734,"children":735},{"class":213,"line":340},[736,740,745],{"type":167,"tag":211,"props":737,"children":738},{"class":230},[739],{"type":172,"value":394},{"type":167,"tag":211,"props":741,"children":742},{"class":301},[743],{"type":172,"value":744},"navBottomLink",{"type":167,"tag":211,"props":746,"children":747},{"class":251},[748],{"type":172,"value":749},",\n",{"type":167,"tag":211,"props":751,"children":752},{"class":213,"line":347},[753,757,762],{"type":167,"tag":211,"props":754,"children":755},{"class":230},[756],{"type":172,"value":394},{"type":167,"tag":211,"props":758,"children":759},{"class":301},[760],{"type":172,"value":761},"navDirFromPath",{"type":167,"tag":211,"props":763,"children":764},{"class":251},[765],{"type":172,"value":749},{"type":167,"tag":211,"props":767,"children":768},{"class":213,"line":364},[769,773,778],{"type":167,"tag":211,"props":770,"children":771},{"class":230},[772],{"type":172,"value":394},{"type":167,"tag":211,"props":774,"children":775},{"class":301},[776],{"type":172,"value":777},"navPageFromPath",{"type":167,"tag":211,"props":779,"children":780},{"class":251},[781],{"type":172,"value":749},{"type":167,"tag":211,"props":783,"children":784},{"class":213,"line":371},[785,789],{"type":167,"tag":211,"props":786,"children":787},{"class":230},[788],{"type":172,"value":394},{"type":167,"tag":211,"props":790,"children":791},{"class":301},[792],{"type":172,"value":793},"navKeyFromPath\n",{"type":167,"tag":211,"props":795,"children":796},{"class":213,"line":388},[797,801,805,809,813,818],{"type":167,"tag":211,"props":798,"children":799},{"class":251},[800],{"type":172,"value":313},{"type":167,"tag":211,"props":802,"children":803},{"class":230},[804],{"type":172,"value":233},{"type":167,"tag":211,"props":806,"children":807},{"class":320},[808],{"type":172,"value":254},{"type":167,"tag":211,"props":810,"children":811},{"class":230},[812],{"type":172,"value":233},{"type":167,"tag":211,"props":814,"children":815},{"class":329},[816],{"type":172,"value":817},"useContentHelpers",{"type":167,"tag":211,"props":819,"children":820},{"class":230},[821],{"type":172,"value":337},{"type":167,"tag":211,"props":823,"children":824},{"class":213,"line":410},[825,829,833],{"type":167,"tag":211,"props":826,"children":827},{"class":218},[828],{"type":172,"value":353},{"type":167,"tag":211,"props":830,"children":831},{"class":224},[832],{"type":172,"value":227},{"type":167,"tag":211,"props":834,"children":835},{"class":218},[836],{"type":172,"value":638},{"type":167,"tag":168,"props":838,"children":839},{},[840,842,847],{"type":172,"value":841},"Learn more about the ",{"type":167,"tag":175,"props":843,"children":844},{"href":51},[845],{"type":172,"value":846},"navigation object",{"type":172,"value":848},".",{"type":167,"tag":658,"props":850,"children":852},{"id":851},"navbottomlink",[853],{"type":167,"tag":180,"props":854,"children":855},{},[856],{"type":172,"value":857},"navBottomLink()",{"type":167,"tag":168,"props":859,"children":860},{},[861],{"type":172,"value":862},"Take a navigation node and will resolve the first available path from that node.",{"type":167,"tag":168,"props":864,"children":865},{},[866],{"type":172,"value":867},"It can be useful to build nested navigations systems.",{"type":167,"tag":201,"props":869,"children":872},{"className":870,"code":871,"language":266,"meta":161},"language-ts solarized-light_dark-plus_material-theme-lighter","const { navigation } = useContent()\n\nconst path = navBottomLink(navigation.value)\n",[873],{"type":167,"tag":180,"props":874,"children":875},{"__ignoreMap":161},[876,929,935],{"type":167,"tag":211,"props":877,"children":878},{"class":213,"line":214},[879,883,887,891,895,900,904,908,912,916,920,925],{"type":167,"tag":211,"props":880,"children":881},{"class":282},[882],{"type":172,"value":285},{"type":167,"tag":211,"props":884,"children":885},{"class":230},[886],{"type":172,"value":233},{"type":167,"tag":211,"props":888,"children":889},{"class":251},[890],{"type":172,"value":294},{"type":167,"tag":211,"props":892,"children":893},{"class":230},[894],{"type":172,"value":233},{"type":167,"tag":211,"props":896,"children":897},{"class":301},[898],{"type":172,"value":899},"navigation",{"type":167,"tag":211,"props":901,"children":902},{"class":230},[903],{"type":172,"value":233},{"type":167,"tag":211,"props":905,"children":906},{"class":251},[907],{"type":172,"value":313},{"type":167,"tag":211,"props":909,"children":910},{"class":230},[911],{"type":172,"value":233},{"type":167,"tag":211,"props":913,"children":914},{"class":320},[915],{"type":172,"value":254},{"type":167,"tag":211,"props":917,"children":918},{"class":230},[919],{"type":172,"value":233},{"type":167,"tag":211,"props":921,"children":922},{"class":329},[923],{"type":172,"value":924},"useContent",{"type":167,"tag":211,"props":926,"children":927},{"class":230},[928],{"type":172,"value":337},{"type":167,"tag":211,"props":930,"children":931},{"class":213,"line":278},[932],{"type":167,"tag":211,"props":933,"children":934},{},[],{"type":167,"tag":211,"props":936,"children":937},{"class":213,"line":340},[938,942,946,951,955,959,963,967,972,977,981,986],{"type":167,"tag":211,"props":939,"children":940},{"class":282},[941],{"type":172,"value":285},{"type":167,"tag":211,"props":943,"children":944},{"class":230},[945],{"type":172,"value":233},{"type":167,"tag":211,"props":947,"children":948},{"class":301},[949],{"type":172,"value":950},"path",{"type":167,"tag":211,"props":952,"children":953},{"class":230},[954],{"type":172,"value":233},{"type":167,"tag":211,"props":956,"children":957},{"class":320},[958],{"type":172,"value":254},{"type":167,"tag":211,"props":960,"children":961},{"class":230},[962],{"type":172,"value":233},{"type":167,"tag":211,"props":964,"children":965},{"class":329},[966],{"type":172,"value":744},{"type":167,"tag":211,"props":968,"children":969},{"class":230},[970],{"type":172,"value":971},"(",{"type":167,"tag":211,"props":973,"children":975},{"class":974},"ct-604459",[976],{"type":172,"value":899},{"type":167,"tag":211,"props":978,"children":979},{"class":251},[980],{"type":172,"value":848},{"type":167,"tag":211,"props":982,"children":983},{"class":974},[984],{"type":172,"value":985},"value",{"type":167,"tag":211,"props":987,"children":988},{"class":230},[989],{"type":172,"value":990},")",{"type":167,"tag":658,"props":992,"children":994},{"id":993},"navdirfrompath",[995],{"type":167,"tag":180,"props":996,"children":997},{},[998],{"type":172,"value":999},"navDirFromPath()",{"type":167,"tag":168,"props":1001,"children":1002},{},[1003],{"type":172,"value":1004},"This function will take a path and will resolve the first available navigation node from that path.",{"type":167,"tag":168,"props":1006,"children":1007},{},[1008],{"type":172,"value":1009},"It can be useful to find the current directory of a navigation node.",{"type":167,"tag":201,"props":1011,"children":1013},{"className":870,"code":1012,"language":266,"meta":161},"const route = useRoute()\n\nconst { navigation } = useContent()\n\nconst dir = navDirFromPath(route.path, navigation.value)\n",[1014],{"type":167,"tag":180,"props":1015,"children":1016},{"__ignoreMap":161},[1017,1054,1060,1111,1117],{"type":167,"tag":211,"props":1018,"children":1019},{"class":213,"line":214},[1020,1024,1028,1033,1037,1041,1045,1050],{"type":167,"tag":211,"props":1021,"children":1022},{"class":282},[1023],{"type":172,"value":285},{"type":167,"tag":211,"props":1025,"children":1026},{"class":230},[1027],{"type":172,"value":233},{"type":167,"tag":211,"props":1029,"children":1030},{"class":301},[1031],{"type":172,"value":1032},"route",{"type":167,"tag":211,"props":1034,"children":1035},{"class":230},[1036],{"type":172,"value":233},{"type":167,"tag":211,"props":1038,"children":1039},{"class":320},[1040],{"type":172,"value":254},{"type":167,"tag":211,"props":1042,"children":1043},{"class":230},[1044],{"type":172,"value":233},{"type":167,"tag":211,"props":1046,"children":1047},{"class":329},[1048],{"type":172,"value":1049},"useRoute",{"type":167,"tag":211,"props":1051,"children":1052},{"class":230},[1053],{"type":172,"value":337},{"type":167,"tag":211,"props":1055,"children":1056},{"class":213,"line":278},[1057],{"type":167,"tag":211,"props":1058,"children":1059},{},[],{"type":167,"tag":211,"props":1061,"children":1062},{"class":213,"line":340},[1063,1067,1071,1075,1079,1083,1087,1091,1095,1099,1103,1107],{"type":167,"tag":211,"props":1064,"children":1065},{"class":282},[1066],{"type":172,"value":285},{"type":167,"tag":211,"props":1068,"children":1069},{"class":230},[1070],{"type":172,"value":233},{"type":167,"tag":211,"props":1072,"children":1073},{"class":251},[1074],{"type":172,"value":294},{"type":167,"tag":211,"props":1076,"children":1077},{"class":230},[1078],{"type":172,"value":233},{"type":167,"tag":211,"props":1080,"children":1081},{"class":301},[1082],{"type":172,"value":899},{"type":167,"tag":211,"props":1084,"children":1085},{"class":230},[1086],{"type":172,"value":233},{"type":167,"tag":211,"props":1088,"children":1089},{"class":251},[1090],{"type":172,"value":313},{"type":167,"tag":211,"props":1092,"children":1093},{"class":230},[1094],{"type":172,"value":233},{"type":167,"tag":211,"props":1096,"children":1097},{"class":320},[1098],{"type":172,"value":254},{"type":167,"tag":211,"props":1100,"children":1101},{"class":230},[1102],{"type":172,"value":233},{"type":167,"tag":211,"props":1104,"children":1105},{"class":329},[1106],{"type":172,"value":924},{"type":167,"tag":211,"props":1108,"children":1109},{"class":230},[1110],{"type":172,"value":337},{"type":167,"tag":211,"props":1112,"children":1113},{"class":213,"line":347},[1114],{"type":167,"tag":211,"props":1115,"children":1116},{},[],{"type":167,"tag":211,"props":1118,"children":1119},{"class":213,"line":364},[1120,1124,1128,1133,1137,1141,1145,1149,1153,1157,1161,1165,1170,1174,1178,1182,1186],{"type":167,"tag":211,"props":1121,"children":1122},{"class":282},[1123],{"type":172,"value":285},{"type":167,"tag":211,"props":1125,"children":1126},{"class":230},[1127],{"type":172,"value":233},{"type":167,"tag":211,"props":1129,"children":1130},{"class":301},[1131],{"type":172,"value":1132},"dir",{"type":167,"tag":211,"props":1134,"children":1135},{"class":230},[1136],{"type":172,"value":233},{"type":167,"tag":211,"props":1138,"children":1139},{"class":320},[1140],{"type":172,"value":254},{"type":167,"tag":211,"props":1142,"children":1143},{"class":230},[1144],{"type":172,"value":233},{"type":167,"tag":211,"props":1146,"children":1147},{"class":329},[1148],{"type":172,"value":761},{"type":167,"tag":211,"props":1150,"children":1151},{"class":230},[1152],{"type":172,"value":971},{"type":167,"tag":211,"props":1154,"children":1155},{"class":974},[1156],{"type":172,"value":1032},{"type":167,"tag":211,"props":1158,"children":1159},{"class":251},[1160],{"type":172,"value":848},{"type":167,"tag":211,"props":1162,"children":1163},{"class":974},[1164],{"type":172,"value":950},{"type":167,"tag":211,"props":1166,"children":1167},{"class":251},[1168],{"type":172,"value":1169},",",{"type":167,"tag":211,"props":1171,"children":1172},{"class":230},[1173],{"type":172,"value":233},{"type":167,"tag":211,"props":1175,"children":1176},{"class":974},[1177],{"type":172,"value":899},{"type":167,"tag":211,"props":1179,"children":1180},{"class":251},[1181],{"type":172,"value":848},{"type":167,"tag":211,"props":1183,"children":1184},{"class":974},[1185],{"type":172,"value":985},{"type":167,"tag":211,"props":1187,"children":1188},{"class":230},[1189],{"type":172,"value":990},{"type":167,"tag":658,"props":1191,"children":1193},{"id":1192},"navpagefrompath",[1194],{"type":167,"tag":180,"props":1195,"children":1196},{},[1197],{"type":172,"value":1198},"navPageFromPath()",{"type":167,"tag":168,"props":1200,"children":1201},{},[1202],{"type":172,"value":1203},"This function will take a path and will resolve the first available navigation page from that path.",{"type":167,"tag":168,"props":1205,"children":1206},{},[1207],{"type":172,"value":1208},"It can be useful to find the current navigation node the page you're browsing.",{"type":167,"tag":201,"props":1210,"children":1212},{"className":870,"code":1211,"language":266,"meta":161},"const route = useRoute()\n\nconst { navigation } = useContent()\n\nconst page = navPageFromPath(route.path, navigation.value)\n",[1213],{"type":167,"tag":180,"props":1214,"children":1215},{"__ignoreMap":161},[1216,1251,1257,1308,1314],{"type":167,"tag":211,"props":1217,"children":1218},{"class":213,"line":214},[1219,1223,1227,1231,1235,1239,1243,1247],{"type":167,"tag":211,"props":1220,"children":1221},{"class":282},[1222],{"type":172,"value":285},{"type":167,"tag":211,"props":1224,"children":1225},{"class":230},[1226],{"type":172,"value":233},{"type":167,"tag":211,"props":1228,"children":1229},{"class":301},[1230],{"type":172,"value":1032},{"type":167,"tag":211,"props":1232,"children":1233},{"class":230},[1234],{"type":172,"value":233},{"type":167,"tag":211,"props":1236,"children":1237},{"class":320},[1238],{"type":172,"value":254},{"type":167,"tag":211,"props":1240,"children":1241},{"class":230},[1242],{"type":172,"value":233},{"type":167,"tag":211,"props":1244,"children":1245},{"class":329},[1246],{"type":172,"value":1049},{"type":167,"tag":211,"props":1248,"children":1249},{"class":230},[1250],{"type":172,"value":337},{"type":167,"tag":211,"props":1252,"children":1253},{"class":213,"line":278},[1254],{"type":167,"tag":211,"props":1255,"children":1256},{},[],{"type":167,"tag":211,"props":1258,"children":1259},{"class":213,"line":340},[1260,1264,1268,1272,1276,1280,1284,1288,1292,1296,1300,1304],{"type":167,"tag":211,"props":1261,"children":1262},{"class":282},[1263],{"type":172,"value":285},{"type":167,"tag":211,"props":1265,"children":1266},{"class":230},[1267],{"type":172,"value":233},{"type":167,"tag":211,"props":1269,"children":1270},{"class":251},[1271],{"type":172,"value":294},{"type":167,"tag":211,"props":1273,"children":1274},{"class":230},[1275],{"type":172,"value":233},{"type":167,"tag":211,"props":1277,"children":1278},{"class":301},[1279],{"type":172,"value":899},{"type":167,"tag":211,"props":1281,"children":1282},{"class":230},[1283],{"type":172,"value":233},{"type":167,"tag":211,"props":1285,"children":1286},{"class":251},[1287],{"type":172,"value":313},{"type":167,"tag":211,"props":1289,"children":1290},{"class":230},[1291],{"type":172,"value":233},{"type":167,"tag":211,"props":1293,"children":1294},{"class":320},[1295],{"type":172,"value":254},{"type":167,"tag":211,"props":1297,"children":1298},{"class":230},[1299],{"type":172,"value":233},{"type":167,"tag":211,"props":1301,"children":1302},{"class":329},[1303],{"type":172,"value":924},{"type":167,"tag":211,"props":1305,"children":1306},{"class":230},[1307],{"type":172,"value":337},{"type":167,"tag":211,"props":1309,"children":1310},{"class":213,"line":347},[1311],{"type":167,"tag":211,"props":1312,"children":1313},{},[],{"type":167,"tag":211,"props":1315,"children":1316},{"class":213,"line":364},[1317,1321,1325,1330,1334,1338,1342,1346,1350,1354,1358,1362,1366,1370,1374,1378,1382],{"type":167,"tag":211,"props":1318,"children":1319},{"class":282},[1320],{"type":172,"value":285},{"type":167,"tag":211,"props":1322,"children":1323},{"class":230},[1324],{"type":172,"value":233},{"type":167,"tag":211,"props":1326,"children":1327},{"class":301},[1328],{"type":172,"value":1329},"page",{"type":167,"tag":211,"props":1331,"children":1332},{"class":230},[1333],{"type":172,"value":233},{"type":167,"tag":211,"props":1335,"children":1336},{"class":320},[1337],{"type":172,"value":254},{"type":167,"tag":211,"props":1339,"children":1340},{"class":230},[1341],{"type":172,"value":233},{"type":167,"tag":211,"props":1343,"children":1344},{"class":329},[1345],{"type":172,"value":777},{"type":167,"tag":211,"props":1347,"children":1348},{"class":230},[1349],{"type":172,"value":971},{"type":167,"tag":211,"props":1351,"children":1352},{"class":974},[1353],{"type":172,"value":1032},{"type":167,"tag":211,"props":1355,"children":1356},{"class":251},[1357],{"type":172,"value":848},{"type":167,"tag":211,"props":1359,"children":1360},{"class":974},[1361],{"type":172,"value":950},{"type":167,"tag":211,"props":1363,"children":1364},{"class":251},[1365],{"type":172,"value":1169},{"type":167,"tag":211,"props":1367,"children":1368},{"class":230},[1369],{"type":172,"value":233},{"type":167,"tag":211,"props":1371,"children":1372},{"class":974},[1373],{"type":172,"value":899},{"type":167,"tag":211,"props":1375,"children":1376},{"class":251},[1377],{"type":172,"value":848},{"type":167,"tag":211,"props":1379,"children":1380},{"class":974},[1381],{"type":172,"value":985},{"type":167,"tag":211,"props":1383,"children":1384},{"class":230},[1385],{"type":172,"value":990},{"type":167,"tag":658,"props":1387,"children":1389},{"id":1388},"navkeyfrompath",[1390],{"type":167,"tag":180,"props":1391,"children":1392},{},[1393],{"type":172,"value":1394},"navKeyFromPath()",{"type":167,"tag":168,"props":1396,"children":1397},{},[1398],{"type":172,"value":1399},"This function will take a path and will resolve a specific key from that path.",{"type":167,"tag":168,"props":1401,"children":1402},{},[1403,1405,1410],{"type":172,"value":1404},"It can be useful when you want to add a fallback on the ",{"type":167,"tag":180,"props":1406,"children":1407},{},[1408],{"type":172,"value":1409},"_dir.yml",{"type":172,"value":1411}," value of a key in a page.",{"type":167,"tag":201,"props":1413,"children":1415},{"className":870,"code":1414,"language":266,"meta":161},"const route = useRoute()\n\nconst { navigation } = useContent()\n\nconst layout = navKeyFromPath(route.path, 'layout', navigation.value)\n",[1416],{"type":167,"tag":180,"props":1417,"children":1418},{"__ignoreMap":161},[1419,1454,1460,1511,1517],{"type":167,"tag":211,"props":1420,"children":1421},{"class":213,"line":214},[1422,1426,1430,1434,1438,1442,1446,1450],{"type":167,"tag":211,"props":1423,"children":1424},{"class":282},[1425],{"type":172,"value":285},{"type":167,"tag":211,"props":1427,"children":1428},{"class":230},[1429],{"type":172,"value":233},{"type":167,"tag":211,"props":1431,"children":1432},{"class":301},[1433],{"type":172,"value":1032},{"type":167,"tag":211,"props":1435,"children":1436},{"class":230},[1437],{"type":172,"value":233},{"type":167,"tag":211,"props":1439,"children":1440},{"class":320},[1441],{"type":172,"value":254},{"type":167,"tag":211,"props":1443,"children":1444},{"class":230},[1445],{"type":172,"value":233},{"type":167,"tag":211,"props":1447,"children":1448},{"class":329},[1449],{"type":172,"value":1049},{"type":167,"tag":211,"props":1451,"children":1452},{"class":230},[1453],{"type":172,"value":337},{"type":167,"tag":211,"props":1455,"children":1456},{"class":213,"line":278},[1457],{"type":167,"tag":211,"props":1458,"children":1459},{},[],{"type":167,"tag":211,"props":1461,"children":1462},{"class":213,"line":340},[1463,1467,1471,1475,1479,1483,1487,1491,1495,1499,1503,1507],{"type":167,"tag":211,"props":1464,"children":1465},{"class":282},[1466],{"type":172,"value":285},{"type":167,"tag":211,"props":1468,"children":1469},{"class":230},[1470],{"type":172,"value":233},{"type":167,"tag":211,"props":1472,"children":1473},{"class":251},[1474],{"type":172,"value":294},{"type":167,"tag":211,"props":1476,"children":1477},{"class":230},[1478],{"type":172,"value":233},{"type":167,"tag":211,"props":1480,"children":1481},{"class":301},[1482],{"type":172,"value":899},{"type":167,"tag":211,"props":1484,"children":1485},{"class":230},[1486],{"type":172,"value":233},{"type":167,"tag":211,"props":1488,"children":1489},{"class":251},[1490],{"type":172,"value":313},{"type":167,"tag":211,"props":1492,"children":1493},{"class":230},[1494],{"type":172,"value":233},{"type":167,"tag":211,"props":1496,"children":1497},{"class":320},[1498],{"type":172,"value":254},{"type":167,"tag":211,"props":1500,"children":1501},{"class":230},[1502],{"type":172,"value":233},{"type":167,"tag":211,"props":1504,"children":1505},{"class":329},[1506],{"type":172,"value":924},{"type":167,"tag":211,"props":1508,"children":1509},{"class":230},[1510],{"type":172,"value":337},{"type":167,"tag":211,"props":1512,"children":1513},{"class":213,"line":347},[1514],{"type":167,"tag":211,"props":1515,"children":1516},{},[],{"type":167,"tag":211,"props":1518,"children":1519},{"class":213,"line":364},[1520,1524,1528,1533,1537,1541,1545,1550,1554,1558,1562,1566,1570,1574,1579,1583,1587,1591,1595,1599,1603,1607],{"type":167,"tag":211,"props":1521,"children":1522},{"class":282},[1523],{"type":172,"value":285},{"type":167,"tag":211,"props":1525,"children":1526},{"class":230},[1527],{"type":172,"value":233},{"type":167,"tag":211,"props":1529,"children":1530},{"class":301},[1531],{"type":172,"value":1532},"layout",{"type":167,"tag":211,"props":1534,"children":1535},{"class":230},[1536],{"type":172,"value":233},{"type":167,"tag":211,"props":1538,"children":1539},{"class":320},[1540],{"type":172,"value":254},{"type":167,"tag":211,"props":1542,"children":1543},{"class":230},[1544],{"type":172,"value":233},{"type":167,"tag":211,"props":1546,"children":1547},{"class":329},[1548],{"type":172,"value":1549},"navKeyFromPath",{"type":167,"tag":211,"props":1551,"children":1552},{"class":230},[1553],{"type":172,"value":971},{"type":167,"tag":211,"props":1555,"children":1556},{"class":974},[1557],{"type":172,"value":1032},{"type":167,"tag":211,"props":1559,"children":1560},{"class":251},[1561],{"type":172,"value":848},{"type":167,"tag":211,"props":1563,"children":1564},{"class":974},[1565],{"type":172,"value":950},{"type":167,"tag":211,"props":1567,"children":1568},{"class":251},[1569],{"type":172,"value":1169},{"type":167,"tag":211,"props":1571,"children":1572},{"class":230},[1573],{"type":172,"value":233},{"type":167,"tag":211,"props":1575,"children":1576},{"class":257},[1577],{"type":172,"value":1578},"'",{"type":167,"tag":211,"props":1580,"children":1581},{"class":263},[1582],{"type":172,"value":1532},{"type":167,"tag":211,"props":1584,"children":1585},{"class":257},[1586],{"type":172,"value":1578},{"type":167,"tag":211,"props":1588,"children":1589},{"class":251},[1590],{"type":172,"value":1169},{"type":167,"tag":211,"props":1592,"children":1593},{"class":230},[1594],{"type":172,"value":233},{"type":167,"tag":211,"props":1596,"children":1597},{"class":974},[1598],{"type":172,"value":899},{"type":167,"tag":211,"props":1600,"children":1601},{"class":251},[1602],{"type":172,"value":848},{"type":167,"tag":211,"props":1604,"children":1605},{"class":974},[1606],{"type":172,"value":985},{"type":167,"tag":211,"props":1608,"children":1609},{"class":230},[1610],{"type":172,"value":990},{"type":167,"tag":640,"props":1612,"children":1613},{},[1614],{"type":172,"value":1615},".solarized-light_dark-plus_material-theme-lighter{color:#657B83;background:#FDF6E3;}.dark .solarized-light_dark-plus_material-theme-lighter{color:#D4D4D4;background:#1E1E1E;}.light .solarized-light_dark-plus_material-theme-lighter{color:#90A4AE;background:#FAFAFA;}.ct-578153{color:#93A1A1;}.dark .ct-578153{color:#808080;}.light .ct-578153{color:#39ADB5;}.ct-952042{color:#268BD2;}.dark .ct-952042{color:#569CD6;}.light .ct-952042{color:#E53935;}.ct-916772{color:#657B83;}.dark .ct-916772{color:#D4D4D4;}.light .ct-916772{color:#90A4AE;}.ct-303788{color:#93A1A1;}.dark .ct-303788{color:#9CDCFE;}.light .ct-303788{color:#9C3EDA;}.ct-001462{color:#657B83;}.dark .ct-001462{color:#D4D4D4;}.light .ct-001462{color:#39ADB5;}.ct-659886{color:#2AA198;}.dark .ct-659886{color:#CE9178;}.light .ct-659886{color:#39ADB5;}.ct-084644{color:#2AA198;}.dark .ct-084644{color:#CE9178;}.light .ct-084644{color:#91B859;}.ct-696419{color:#586E75;font-weight:bold;}.dark .ct-696419{color:#569CD6;font-weight:unset;}.light .ct-696419{color:#9C3EDA;font-weight:unset;}.ct-263069{color:#268BD2;}.dark .ct-263069{color:#4FC1FF;}.light .ct-263069{color:#90A4AE;}.ct-773118{color:#859900;}.dark .ct-773118{color:#D4D4D4;}.light .ct-773118{color:#39ADB5;}.ct-187170{color:#268BD2;}.dark .ct-187170{color:#DCDCAA;}.light .ct-187170{color:#6182B8;}.ct-604459{color:#268BD2;}.dark .ct-604459{color:#9CDCFE;}.light .ct-604459{color:#90A4AE;}",{"title":161,"searchDepth":278,"depth":278,"links":1617},[1618,1619,1620,1621,1622],{"id":660,"depth":278,"text":21},{"id":851,"depth":278,"text":857},{"id":993,"depth":278,"text":999},{"id":1192,"depth":278,"text":1198},{"id":1388,"depth":278,"text":1394},"content:3.composables:4.use-content-helpers.md","3.composables/4.use-content-helpers.md",{"_path":26,"_dir":660,"_draft":160,"_partial":160,"_locale":161,"title":25,"description":1626,"body":1627,"_type":647,"_id":1935,"_source":649,"_file":1936,"_extension":651},"The Content module parses .md and .yaml files inside the content/ directory and provides paths according to the directory structure.",{"type":164,"children":1628,"toc":1929},[1629,1635,1640,1764,1790,1803,1809,1820,1831,1847,1853,1863,1872,1878,1890,1895,1904,1918],{"type":167,"tag":658,"props":1630,"children":1632},{"id":1631},"paths",[1633],{"type":172,"value":1634},"Paths",{"type":167,"tag":168,"props":1636,"children":1637},{},[1638],{"type":172,"value":1639},"Nuxt Content will automatically generate paths for your content files.",{"type":167,"tag":1641,"props":1642,"children":1643},"table",{},[1644,1664],{"type":167,"tag":1645,"props":1646,"children":1647},"thead",{},[1648],{"type":167,"tag":1649,"props":1650,"children":1651},"tr",{},[1652,1658],{"type":167,"tag":1653,"props":1654,"children":1655},"th",{},[1656],{"type":172,"value":1657},"File",{"type":167,"tag":1653,"props":1659,"children":1661},{"align":1660},"left",[1662],{"type":172,"value":1663},"Internal path",{"type":167,"tag":1665,"props":1666,"children":1667},"tbody",{},[1668,1688,1707,1726,1745],{"type":167,"tag":1649,"props":1669,"children":1670},{},[1671,1680],{"type":167,"tag":1672,"props":1673,"children":1674},"td",{},[1675],{"type":167,"tag":180,"props":1676,"children":1677},{},[1678],{"type":172,"value":1679},"content/index.md",{"type":167,"tag":1672,"props":1681,"children":1682},{"align":1660},[1683],{"type":167,"tag":180,"props":1684,"children":1685},{},[1686],{"type":172,"value":1687},"/",{"type":167,"tag":1649,"props":1689,"children":1690},{},[1691,1699],{"type":167,"tag":1672,"props":1692,"children":1693},{},[1694],{"type":167,"tag":180,"props":1695,"children":1696},{},[1697],{"type":172,"value":1698},"content/about.md",{"type":167,"tag":1672,"props":1700,"children":1701},{"align":1660},[1702],{"type":167,"tag":180,"props":1703,"children":1704},{},[1705],{"type":172,"value":1706},"/about",{"type":167,"tag":1649,"props":1708,"children":1709},{},[1710,1718],{"type":167,"tag":1672,"props":1711,"children":1712},{},[1713],{"type":167,"tag":180,"props":1714,"children":1715},{},[1716],{"type":172,"value":1717},"content/blog/index.md",{"type":167,"tag":1672,"props":1719,"children":1720},{"align":1660},[1721],{"type":167,"tag":180,"props":1722,"children":1723},{},[1724],{"type":172,"value":1725},"/blog",{"type":167,"tag":1649,"props":1727,"children":1728},{},[1729,1737],{"type":167,"tag":1672,"props":1730,"children":1731},{},[1732],{"type":167,"tag":180,"props":1733,"children":1734},{},[1735],{"type":172,"value":1736},"content/blog/hello.md",{"type":167,"tag":1672,"props":1738,"children":1739},{"align":1660},[1740],{"type":167,"tag":180,"props":1741,"children":1742},{},[1743],{"type":172,"value":1744},"/blog/hello",{"type":167,"tag":1649,"props":1746,"children":1747},{},[1748,1756],{"type":167,"tag":1672,"props":1749,"children":1750},{},[1751],{"type":167,"tag":180,"props":1752,"children":1753},{},[1754],{"type":172,"value":1755},"content/1.guide/2.installation",{"type":167,"tag":1672,"props":1757,"children":1758},{"align":1660},[1759],{"type":167,"tag":180,"props":1760,"children":1761},{},[1762],{"type":172,"value":1763},"/guide/installation",{"type":167,"tag":168,"props":1765,"children":1766},{},[1767,1769,1774,1776,1781,1783,1788],{"type":172,"value":1768},"The module creates REST ",{"type":167,"tag":180,"props":1770,"children":1771},{},[1772],{"type":172,"value":1773},"GET",{"type":172,"value":1775}," endpoints for every document in the ",{"type":167,"tag":180,"props":1777,"children":1778},{},[1779],{"type":172,"value":1780},"content/",{"type":172,"value":1782}," directory reachable with the ",{"type":167,"tag":180,"props":1784,"children":1785},{},[1786],{"type":172,"value":1787},"/api/_content/query",{"type":172,"value":1789}," route.",{"type":167,"tag":168,"props":1791,"children":1792},{},[1793,1795,1802],{"type":172,"value":1794},"Components and pages can query contents using ",{"type":167,"tag":175,"props":1796,"children":1797},{"href":48},[1798],{"type":167,"tag":180,"props":1799,"children":1800},{},[1801],{"type":172,"value":47},{"type":172,"value":848},{"type":167,"tag":658,"props":1804,"children":1806},{"id":1805},"ordering",[1807],{"type":172,"value":1808},"Ordering",{"type":167,"tag":168,"props":1810,"children":1811},{},[1812,1814,1818],{"type":172,"value":1813},"Add numeric prefixes to files and directories inside the ",{"type":167,"tag":180,"props":1815,"children":1816},{},[1817],{"type":172,"value":1780},{"type":172,"value":1819}," directory to specify an order.\nNuxt Content uses these numbers to order content lists.",{"type":167,"tag":201,"props":1821,"children":1826},{"className":1822,"code":1824,"filename":1825,"meta":161},[1823],"language-[Directory","content/\n  1.frameworks/\n    1.vue.md\n    2.nuxt.md\n  2.examples/\n    1.vercel.md\n    2.netlify.md\n    3.heroku.md\n    index.md\n","Directory structure",[1827],{"type":167,"tag":180,"props":1828,"children":1829},{"__ignoreMap":161},[1830],{"type":172,"value":1824},{"type":167,"tag":1832,"props":1833,"children":1835},"callout",{"type":1834},"info",[1836],{"type":167,"tag":168,"props":1837,"children":1838},{},[1839,1841,1845],{"type":172,"value":1840},"Separate number from file name using ",{"type":167,"tag":180,"props":1842,"children":1843},{},[1844],{"type":172,"value":848},{"type":172,"value":1846}," character. Using any other separator will not work.",{"type":167,"tag":658,"props":1848,"children":1850},{"id":1849},"ignoring",[1851],{"type":172,"value":1852},"Ignoring",{"type":167,"tag":168,"props":1854,"children":1855},{},[1856,1858,1862],{"type":172,"value":1857},"Content module will ignore files and folders starting with a ",{"type":167,"tag":180,"props":1859,"children":1860},{},[1861],{"type":172,"value":848},{"type":172,"value":848},{"type":167,"tag":201,"props":1864,"children":1867},{"className":1865,"code":1866,"filename":1825,"meta":161},[1823],"content/\n  1.frameworks/\n    .1.vue.md              // Ignored content\n    2.nuxt.md\n  .2.translation/          // Ignored directory\n    1.fa/\n      1.messages.md        // Ignored content because of its grand parent\n    2.fr/\n      1.messages.md        // Ignored content because of its grand parent\n",[1868],{"type":167,"tag":180,"props":1869,"children":1870},{"__ignoreMap":161},[1871],{"type":172,"value":1866},{"type":167,"tag":658,"props":1873,"children":1875},{"id":1874},"partials",[1876],{"type":172,"value":1877},"Partials",{"type":167,"tag":168,"props":1879,"children":1880},{},[1881,1883,1888],{"type":172,"value":1882},"Adding ",{"type":167,"tag":180,"props":1884,"children":1885},{},[1886],{"type":172,"value":1887},"_",{"type":172,"value":1889}," prefix to files will mark them as partial contents.",{"type":167,"tag":168,"props":1891,"children":1892},{},[1893],{"type":172,"value":1894},"Partial contents are accessible in search and content lists but are not displayed in content navigation.",{"type":167,"tag":201,"props":1896,"children":1899},{"className":1897,"code":1898,"filename":1825,"meta":161},[1823],"content/\n  1.frameworks/\n    _1.vue.md              // Partial content\n    2.nuxt.md\n  _2.translation/          // Partial directory\n    1.fa/\n      1.messages.md        // Partial content because of its grand parent\n    2.fr/\n      1.messages.md        // Partial content because of its grand parent\n",[1900],{"type":167,"tag":180,"props":1901,"children":1902},{"__ignoreMap":161},[1903],{"type":172,"value":1898},{"type":167,"tag":1832,"props":1905,"children":1906},{"type":1834},[1907],{"type":167,"tag":168,"props":1908,"children":1909},{},[1910,1912,1916],{"type":172,"value":1911},"Starting a directory name with ",{"type":167,"tag":180,"props":1913,"children":1914},{},[1915],{"type":172,"value":1887},{"type":172,"value":1917}," will mark its entire nested content as partial.",{"type":167,"tag":168,"props":1919,"children":1920},{},[1921,1923,1928],{"type":172,"value":1922},"You can query partials by using ",{"type":167,"tag":180,"props":1924,"children":1925},{},[1926],{"type":172,"value":1927},"queryContent().where({ _partial: true })",{"type":172,"value":848},{"title":161,"searchDepth":278,"depth":278,"links":1930},[1931,1932,1933,1934],{"id":1631,"depth":278,"text":1634},{"id":1805,"depth":278,"text":1808},{"id":1849,"depth":278,"text":1852},{"id":1874,"depth":278,"text":1877},"content:2.usage:1.content-directory.md","2.usage/1.content-directory.md",1695734861477]