fix: dark mode handling
This commit is contained in:
@@ -2,16 +2,15 @@ extends master.pug
|
||||
|
||||
block body
|
||||
#root
|
||||
v-app
|
||||
editor(
|
||||
:page-id=page.id
|
||||
locale=page.localeCode
|
||||
path=page.path
|
||||
title=page.title
|
||||
description=page.description
|
||||
tags=page.tags
|
||||
:is-published=page.isPublished
|
||||
init-mode=page.mode
|
||||
init-editor=page.editorKey
|
||||
init-content=page.content
|
||||
)
|
||||
editor(
|
||||
:page-id=page.id
|
||||
locale=page.localeCode
|
||||
path=page.path
|
||||
title=page.title
|
||||
description=page.description
|
||||
tags=page.tags
|
||||
:is-published=page.isPublished
|
||||
init-mode=page.mode
|
||||
init-editor=page.editorKey
|
||||
init-content=page.content
|
||||
)
|
||||
|
@@ -14,7 +14,7 @@ block body
|
||||
updated-at=page.updatedAt
|
||||
author-name=page.authorName
|
||||
:author-id=page.authorId
|
||||
:is-published=page.isPublished
|
||||
:is-published=page.isPublished.toString()
|
||||
:toc=page.toc
|
||||
)
|
||||
template(slot='sidebar')
|
||||
|
Reference in New Issue
Block a user