18 lines
594 B
Text
18 lines
594 B
Text
extends ./layout.spug
|
|
props
|
|
title: string
|
|
nav: { id: string, label: string, href: string, active?: boolean }[]
|
|
albums: { id: string, name: string, cover: string, tracks: { title: string, duration: string }[] }[]
|
|
ribbonStyle?: string
|
|
label: string
|
|
prose: string | null
|
|
features: { label: string, href: string }[]
|
|
current?: string
|
|
block content
|
|
section.demo-feature
|
|
h1= label
|
|
if prose
|
|
p.prose= prose
|
|
nav(aria-label="Feature routes")
|
|
each feature in features
|
|
a(href=feature.href aria-current=feature.href === current ? 'page' : '')= feature.label
|