From 5962f0aa8de9bbc5c12191ed543feae0a43fe05d Mon Sep 17 00:00:00 2001 From: "huanqing.shao" Date: Fri, 27 Sep 2019 23:52:02 +0800 Subject: [PATCH] seo --- .vuepress/components/StarGazer.vue | 20 ++++++++++---------- .vuepress/config.js | 5 +++-- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.vuepress/components/StarGazer.vue b/.vuepress/components/StarGazer.vue index 97bc065..bf3b052 100644 --- a/.vuepress/components/StarGazer.vue +++ b/.vuepress/components/StarGazer.vue @@ -7,7 +7,7 @@ :before-close="handleClose" :append-to-body ="true">
- 英雄,Kuboard 恭候多时啦,请给个 github star 吧! + 英雄,Kuboard 恭候多时啦,请给一个 github star 吧!
- 一会儿再说 + 残忍拒绝 够义气,现在就去! @@ -73,8 +73,8 @@ export default { window.ga('send', { hitType: 'event', eventCategory: 'StarGazer', - eventAction: 'ShowStarGazer', - eventLabel: '显示 StarGazer' + eventAction: 'SG:ShowStarGazer', + eventLabel: 'SG:显示StarGazer' }); console.log('发送成功 ga event') } else { @@ -88,8 +88,8 @@ export default { window.ga('send', { hitType: 'event', eventCategory: 'StarGazer', - eventAction: 'WaitWait', - eventLabel: '一会儿再说' + eventAction: 'SG:RefuseGivingStar', + eventLabel: 'SG:残忍拒绝' }); console.log('发送成功 ga event') } else { @@ -104,8 +104,8 @@ export default { window.ga('send', { hitType: 'event', eventCategory: 'StarGazer', - eventAction: 'GotoGithub', - eventLabel: '前往 github' + eventAction: 'SG:GotoGithub', + eventLabel: 'SG:前往github' }); console.log('发送成功 ga event') } else { @@ -118,8 +118,8 @@ export default { window.ga('send', { hitType: 'event', eventCategory: 'StarGazer', - eventAction: 'BeforeClose', - eventLabel: '赠人玫瑰,手有余香' + eventAction: 'SG:BeforeClose', + eventLabel: 'SG:赠人玫瑰,手有余香' }); console.log('发送成功 ga event') } else { diff --git a/.vuepress/config.js b/.vuepress/config.js index 3c9286d..237cf26 100644 --- a/.vuepress/config.js +++ b/.vuepress/config.js @@ -1,10 +1,10 @@ let dateFns = require('date-fns') module.exports = { - title: 'Kuboard官网', + title: 'Kuboard官网_Kubernetes管理界面', description: '一款Kubernetes_Dashboard_简化Kubernetes的学习和使用_帮助您快速落地Kubernetes_提供_Kubernetes_免费中文教程_国内安装文档', head: [ - ['meta', {name: 'keywords', content: 'Kubernetes教程,Kubernetes安装,Kubernetes入门,K8S教程,K8S入门,K8S安装,学习Kubernetes'}], + ['meta', {name: 'keywords', content: 'Kubernetes教程,Kubernetes安装,Kubernetes入门,K8S教程,K8S入门,K8S安装,学习Kubernetes,Kubernetes管理界面,Kuberntees Dashboard'}], ['script', {}, ` var _hmt = _hmt || []; (function() { @@ -340,6 +340,7 @@ module.exports = { 'k8s-practice/ocp/build', 'k8s-practice/ocp/sequence', 'k8s-practice/ocp/eureka-server', + 'k8s-practice/ocp/mysql', ] }, ]