import B from"./Alert-811cd530.mjs";import{_ as N,d as k,G as C,s as V,Y as S,o as h,c as Y,f as A,w as i,h as D,B as T,b as y,a as w,t as l,g as x}from"./entry-d195bacb.mjs";const $=k({name:"[...slug]",setup(b,{expose:_}){var n,r,o,u,p,d,m;_();const{page:t,theme:e}=C(),a=V(()=>{var g,v,f;const c=((g=t.value)==null?void 0:g.cover)||((v=e.value)==null?void 0:v.cover);return typeof c=="string"?{src:c,alt:((f=t.value)==null?void 0:f.title)||e.value.title}:c||{}});S({bodyAttrs:{class:[]},title:(n=t.value)==null?void 0:n.title,titleTemplate:(r=e.value)!=null&&r.title?`%s | ${e.value.title}`:"%s",meta:[{hid:"description",name:"description",content:((o=t.value)==null?void 0:o.description)||((u=e.value)==null?void 0:u.description)},{hid:"og:site_name",property:"og:site_name",content:"Nuxt"},{hid:"og:type",property:"og:type",content:"website"},{hid:"twitter:site",name:"twitter:site",content:((p=e.value)==null?void 0:p.url)||((m=(d=e.value)==null?void 0:d.socials)==null?void 0:m.twitter)||""},{hid:"twitter:card",name:"twitter:card",content:"summary_large_image"},{hid:"og:image",property:"og:image",content:a.value.src||""},{hid:"og:image:secure_url",property:"og:image:secure_url",content:a.value.src||""},{hid:"og:image:alt",property:"og:image:alt",content:a.value.alt||""},{hid:"twitter:image",name:"twitter:image",content:a.value.src||""}]});const s={page:t,theme:e,cover:a};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),j=x(" You have succesfully created the page: "),E={class:"font-bold"},G=x(" You can now start writing into ");function H(b,_,t,e,a,s){const n=B,r=T;return h(),Y("div",null,[e.page?(h(),A(r,{key:e.page._id,class:"docus-content",value:e.page},{empty:i(({value:o})=>[y(n,{type:"success"},{default:i(()=>[j,w("span",E,l(o._path),1)]),_:2},1024),y(n,{type:"info"},{default:i(()=>[G,w("span",null,l(o._source)+"/"+l(o._file),1)]),_:2},1024)]),_:1},8,["value"])):D("",!0)])}var R=N($,[["render",H]]);export{R as default};
