mirror of
https://github.com/yv1ing/MollyBlog.git
synced 2025-09-16 14:53:45 +08:00
new: Added automatic statistical script injection and ICP filing style
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
package config
|
||||
|
||||
type mSite struct {
|
||||
Info mInfo `yaml:"info"`
|
||||
Menu mMenu `yaml:"menu"`
|
||||
Post mPost `yaml:"post"`
|
||||
About mAbout `yaml:"about"`
|
||||
Friend mFriend `yaml:"friend"`
|
||||
Info mInfo `yaml:"info"`
|
||||
Menu mMenu `yaml:"menu"`
|
||||
Post mPost `yaml:"post"`
|
||||
About mAbout `yaml:"about"`
|
||||
Friend mFriend `yaml:"friend"`
|
||||
Statistics mStatistics `yaml:"statistics"`
|
||||
}
|
||||
|
||||
7
config/mStatistics.go
Normal file
7
config/mStatistics.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package config
|
||||
|
||||
type mStatistics struct {
|
||||
Enable bool `yaml:"enable"`
|
||||
Type string `yaml:"type"`
|
||||
Baidu string `yaml:"baidu"`
|
||||
}
|
||||
Reference in New Issue
Block a user