Add pug and html renderer. Implement hidden flag.
This commit is contained in:
parent
aa563e60ea
commit
3684688cdc
16 changed files with 119 additions and 33 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue