[opt] use page.subtitle
This commit is contained in:
parent
2f260bb2d7
commit
af9bc5342a
|
@ -14,6 +14,10 @@ banner = Object.assign(banner, page.banner_info)
|
||||||
if (banner.title == null) {
|
if (banner.title == null) {
|
||||||
banner.title = page.h1 != null ? page.h1 : page.title
|
banner.title = page.h1 != null ? page.h1 : page.title
|
||||||
}
|
}
|
||||||
|
// 副标题
|
||||||
|
if (banner.subtitle == null) {
|
||||||
|
banner.subtitle = page.subtitle
|
||||||
|
}
|
||||||
|
|
||||||
function layoutBreadcrumb() {
|
function layoutBreadcrumb() {
|
||||||
if (page.breadcrumb === false) {
|
if (page.breadcrumb === false) {
|
||||||
|
|
Loading…
Reference in New Issue