Skip to content

Commit

Permalink
add google adsense
Browse files Browse the repository at this point in the history
  • Loading branch information
QiShaoXuan committed Oct 11, 2019
1 parent 1fe2123 commit e27b9da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ module.exports = {
{
ga: CONFIG.ga
}
],
[
'vuepress-plugin-google-adsense',
{
'google_ad_client': 'ca-pub-3591151685475548',
'enable_page_level_ads': true
}
]
],
themeConfig: {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"gitalk": "^1.5.0",
"node-sass": "^4.12.0",
"sass-loader": "^7.1.0",
"vuepress": "^1.0.1"
"vuepress": "^1.0.1",
"vuepress-plugin-google-adsense": "0.0.3"
},
"dependencies": {
"clipboard": "^2.0.4",
Expand Down

0 comments on commit e27b9da

Please sign in to comment.