mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-08 15:52:25 +08:00
chore: add adsense
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user