import{u as l}from"./D-SKfemt.js";const m=t=>{const n="https://staex.io";let e;"image"in t&&(t.image.startsWith("/")?e=n+t.image:e=t.image);const i=[{name:"description",content:t.description},{name:"author",content:t.author},{property:"og:title",content:t.title},{property:"og:description",content:t.description},{property:"og:image",content:e},{property:"og:type",content:t.type||"website"}],a=[];if("path"in t){const c=n+t.path;a.push({rel:"canonical",href:c}),i.push({property:"og:url",content:c})}const o={};"lang"in t&&(o.lang=t.lang),l({title:t.title,meta:i,link:a,htmlAttrs:o})};export{m as d};
