diff options
Diffstat (limited to 'nuldoc-src/templates/post_list.ts')
| -rw-r--r-- | nuldoc-src/templates/post_list.ts | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/nuldoc-src/templates/post_list.ts b/nuldoc-src/templates/post_list.ts index bd91840..f60eb54 100644 --- a/nuldoc-src/templates/post_list.ts +++ b/nuldoc-src/templates/post_list.ts @@ -45,9 +45,8 @@ export default async function convertPostList( metaElement([["name", "description"], ["content", doc.summary]]), linkElement("icon", "/favicon.svg", "image/svg+xml"), el("title", [], text(`${doc.title} | ${config.blog.siteName}`)), - await stylesheetLinkElement("/hl.css", config), await stylesheetLinkElement("/style.css", config), - await stylesheetLinkElement("/custom.css", config), + await stylesheetLinkElement("/hl.css", config), ); const body = el( "body", @@ -59,9 +58,28 @@ export default async function convertPostList( "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")), + ), ), ), ), |
