diff --git a/components/Home.vue b/components/Home.vue index dabb4c7..deced40 100644 --- a/components/Home.vue +++ b/components/Home.vue @@ -9,10 +9,12 @@ alt="hero"> -

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

+

{{ $frontmatter.heroText || $title || 'vuePress-theme-reco' }}

-

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

+

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

diff --git a/components/HomeBlog.vue b/components/HomeBlog.vue index d51b1a3..e61e1d6 100644 --- a/components/HomeBlog.vue +++ b/components/HomeBlog.vue @@ -13,12 +13,14 @@ alt="hero"> -

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

+

+ {{ $frontmatter.heroText || $title || 'vuePress-theme-reco' }} +

-

- {{ $description || 'Welcome to your vuePress-theme-reco site' }} +

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

diff --git a/components/Page.vue b/components/Page.vue index 720e471..db523e7 100644 --- a/components/Page.vue +++ b/components/Page.vue @@ -1,22 +1,18 @@ @@ -99,6 +91,7 @@ export default { computed: { showAccessNumber () { + console.log(this) return this.$themeConfig.commentsSolution === 'valine' }, lastUpdated () { diff --git a/layouts/Layout.vue b/layouts/Layout.vue index 1b85106..d21ad91 100644 --- a/layouts/Layout.vue +++ b/layouts/Layout.vue @@ -1,17 +1,8 @@