We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d01514 commit a67f53dCopy full SHA for a67f53d
packages/@vuepress/core/lib/client/components/GlobalLayout.vue
@@ -7,7 +7,7 @@ export default {
7
computed: {
8
layout () {
9
if (this.$page.path) {
10
- if (this.$vuepress.isLayoutExists(this.$page.frontmatter.layout)) {
+ if (this.$vuepress.isLayoutExists(this.$page.frontmatter.layout) || this.$page.frontmatter.layout) {
11
return this.$page.frontmatter.layout
12
}
13
return 'Layout'
0 commit comments