${top}
${bottom}
`
el += `% var banner = {} if (page.banner) { banner.url = page.banner } else if (theme.topic.tree[page.topic]?.banner != null) { banner.url = theme.topic.tree[page.topic]?.banner } else if (theme.wiki.tree[page.wiki]?.banner != null) { banner.url = theme.wiki.tree[page.wiki]?.banner } banner = Object.assign(banner, page.banner_info) // 标题 if (banner.title == null) { banner.title = page.h1 != null ? page.h1 : page.title } function layoutBreadcrumb() { if (page.breadcrumb === false) { return `
` } var el = '' // 1.main el += `