Custom Header

Summary

Lifecycle

getCustomHead {
    ...
    publicDir = getPublicDir
    join(publicDir, "header.html");
}
  • [[../packages/nextjs-template/pages/notes/[id].tsx]]
getStaticProps {
    getCustomHead
}

../packages/nextjs-template/components/DendronNotePage.tsx (Private)

Note(customHeadContent) {
    ...
    <DendronCustomHead content={customHeadContent} />

}

Reference

Cook

Past Tasks


Backlinks