first commit
This commit is contained in:
parent
fbafa3db60
commit
eb44b5f2d5
@ -52,7 +52,7 @@ export default {
|
||||
** https://nuxtjs.org/guide/plugins
|
||||
*/
|
||||
plugins: [
|
||||
{src: '@/plugins/element-ui', ssr: true},
|
||||
{src: '@/plugins/element-ui'},
|
||||
{src: '@/plugins/vditor', ssr: false}
|
||||
],
|
||||
/*
|
||||
|
@ -143,7 +143,41 @@
|
||||
},
|
||||
head () {
|
||||
return {
|
||||
title: this.article.articleTitle
|
||||
title: this.article.articleTitle||'RYMCU - 嵌入式知识学习交流平台',
|
||||
meta: [
|
||||
{
|
||||
name: 'keywords',
|
||||
content: this.article.articleTags || 'RYMCU'
|
||||
},
|
||||
{
|
||||
name: 'description',
|
||||
content: this.article.articlePreviewContent
|
||||
},
|
||||
{
|
||||
name: 'site_name',
|
||||
content: 'RYMCU'
|
||||
},
|
||||
{
|
||||
name: 'url',
|
||||
content: this.article.articlePermalink
|
||||
},
|
||||
{
|
||||
name: 'og:title',
|
||||
content: this.article.articleTitle + ' - RYMCU'
|
||||
},
|
||||
{
|
||||
name: 'og:description',
|
||||
content: this.article.articlePreviewContent
|
||||
},
|
||||
{
|
||||
name: 'og:site_name',
|
||||
content: 'RYMCU'
|
||||
},
|
||||
{
|
||||
name: 'og:url',
|
||||
content: this.article.articlePermalink
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
data() {
|
||||
|
Loading…
Reference in New Issue
Block a user