chore: add adsense

This commit is contained in:
deepzz0
2021-05-07 15:11:32 +08:00
parent 6cde9323b1
commit a99ed9504b
4 changed files with 14 additions and 11 deletions

View File

@@ -66,10 +66,11 @@ type Twitter struct {
// Google analytics
type Google struct {
URL string `yaml:"url"`
Tid string `yaml:"tid"`
V string `yaml:"v"`
T string `yaml:"t"`
URL string `yaml:"url"`
Tid string `yaml:"tid"`
V string `yaml:"v"`
T string `yaml:"t"`
AdSense string `yaml:"adsense"`
}
// Qiniu oss

View File

@@ -39,6 +39,7 @@ func baseFEParams(c *gin.Context) gin.H {
"Twitter": config.Conf.EiBlogApp.Twitter,
"Qiniu": config.Conf.EiBlogApp.Qiniu,
"Disqus": config.Conf.EiBlogApp.Disqus,
"AdSense": config.Conf.EiBlogApp.Google.AdSense,
"Version": version,
}
}