Add pug and html renderer. Implement hidden flag.

This commit is contained in:
Artur Gurgul 2025-08-14 07:29:40 +00:00
parent aa563e60ea
commit 3684688cdc
16 changed files with 119 additions and 33 deletions

View file

@ -4,7 +4,7 @@ nav
h2(style="font-size: 15px; margin-top: -0.5em;") and this is my notepad.
hr.hr-text(data-content="Contents")
ul#blog-posts.posts
each page in context.pages
each page in context.pages.filter(it => it.showInMenu)
li
span »
a(href=page.url, style=(page.isCurrent ? "font-weight: bold;" : ""))= page.title