You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

31 lines
752 B

extends /layouts/base.pug
block head
+css('styles.css')
block pageHead
block content
.page-layout
.page
- const navs = [];
- navs.push({ href: '/', label: '首页' });
- navs.push({ href: '/articles', label: '文章' });
- navs.push({ href: '/article', label: '收藏' });
- navs.push({ href: '/about', label: '关于' });
nav.nav
ul.flota-nav
each nav in navs
li
a.item(
href=nav.href,
class=currentPath === nav.href ? 'active' : ''
) #{nav.label}
.content
block pageContent
footer
+include()
- var edit = false
include /htmx/footer.pug
block scripts
block pageScripts