Custom Header
Summary
Lifecycle
-
NOTE: code here is written in Dendron Pseudocode (Private)
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