diff options
Diffstat (limited to 'nuldoc-src/templates/post.ts')
| -rw-r--r-- | nuldoc-src/templates/post.ts | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/nuldoc-src/templates/post.ts b/nuldoc-src/templates/post.ts index 9e1097d..c89240c 100644 --- a/nuldoc-src/templates/post.ts +++ b/nuldoc-src/templates/post.ts @@ -46,9 +46,8 @@ export default async function convertPost( headChildren.push( el("title", [], text(`${doc.title} | ${config.blog.siteName}`)), ); - headChildren.push(await stylesheetLinkElement("/hl.css", config)); headChildren.push(await stylesheetLinkElement("/style.css", config)); - headChildren.push(await stylesheetLinkElement("/custom.css", config)); + headChildren.push(await stylesheetLinkElement("/hl.css", config)); const head = el("head", [], ...headChildren); const body = el( "body", @@ -60,9 +59,28 @@ export default async function convertPost( "nav", [["class", "nav"]], el( - "p", - [["class", "logo"]], - el("a", [["href", "/"]], text(config.blog.siteName)), + "ul", + [], + el( + "li", + [["class", "logo"]], + el("a", [["href", "/"]], text(config.blog.siteName)), + ), + el( + "li", + [], + el("a", [["href", "/about"]], text("About")), + ), + el( + "li", + [], + el("a", [["href", "/posts"]], text("Posts")), + ), + el( + "li", + [], + el("a", [["href", "/slides"]], text("Slides")), + ), ), ), ), |
