From 944b0a0aad3d01beeeafad407c83a0051d6accde Mon Sep 17 00:00:00 2001 From: reco_luan Date: Sat, 20 Jul 2019 19:00:36 +0800 Subject: [PATCH] change: huawei text hidden by default --- components/Common.vue | 2 +- components/Home.vue | 4 ++-- components/HomeBlog.vue | 12 ++++++------ components/Navbar.vue | 2 +- components/Page.vue | 8 ++++---- components/SidebarLink.vue | 2 +- components/Valine/index.vue | 2 +- layouts/Category.vue | 2 +- layouts/Layout.vue | 4 ++-- 9 files changed, 19 insertions(+), 19 deletions(-) diff --git a/components/Common.vue b/components/Common.vue index 40b0a09..fe04863 100644 --- a/components/Common.vue +++ b/components/Common.vue @@ -96,7 +96,7 @@ export default { }, pageClasses () { - const userPageClass = this.$page.frontmatter.pageClass + const userPageClass = this.$frontmatter.pageClass return [ { 'no-navbar': !this.shouldShowNavbar, diff --git a/components/Home.vue b/components/Home.vue index c7571a2..e30c0d7 100644 --- a/components/Home.vue +++ b/components/Home.vue @@ -6,7 +6,7 @@

{{ data.heroText || $title || '午后南杂' }}

{{ data.tagline || $description || 'Welcome to your vuePress-theme-reco site' }}

-

   华为,为中华而为之!

+

   华为,为中华而为之!

@@ -67,7 +67,7 @@ export default { return new Date().getFullYear() }, data() { - return this.$page.frontmatter; + return this.$frontmatter; }, actionLink() { diff --git a/components/HomeBlog.vue b/components/HomeBlog.vue index ce642b8..5163f43 100644 --- a/components/HomeBlog.vue +++ b/components/HomeBlog.vue @@ -1,10 +1,10 @@