mirror of
https://github.com/yv1ing/MollyBlog.git
synced 2025-09-16 14:53:45 +08:00
new: Added friends page and adjust page style
This commit is contained in:
13
config/mFriend.go
Normal file
13
config/mFriend.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package config
|
||||
|
||||
type mFriend struct {
|
||||
Title string `json:"title"`
|
||||
List []mFriendItem `json:"list"`
|
||||
}
|
||||
|
||||
type mFriendItem struct {
|
||||
Name string `yaml:"name"`
|
||||
Link string `yaml:"link"`
|
||||
Avatar string `yaml:"avatar"`
|
||||
Description string `yaml:"description"`
|
||||
}
|
||||
@@ -1,8 +1,9 @@
|
||||
package config
|
||||
|
||||
type mSite struct {
|
||||
Info mInfo `yaml:"info"`
|
||||
Menu mMenu `yaml:"menu"`
|
||||
Post mPost `yaml:"post"`
|
||||
About mAbout `yaml:"about"`
|
||||
Info mInfo `yaml:"info"`
|
||||
Menu mMenu `yaml:"menu"`
|
||||
Post mPost `yaml:"post"`
|
||||
About mAbout `yaml:"about"`
|
||||
Friend mFriend `yaml:"friend"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user