new: Added music collection page

This commit is contained in:
2024-12-25 23:58:02 +08:00
parent 1c23f2ac25
commit 2986e30558
17 changed files with 1678 additions and 0 deletions

14
config/mMusic.go Normal file
View File

@@ -0,0 +1,14 @@
package config
type mMusic struct {
Title string `yaml:"title"`
List []mMusicItem `yaml:"list"`
}
type mMusicItem struct {
Name string `yaml:"name"`
Singer string `yaml:"singer"`
Cover string `yaml:"cover"`
MusicUrl string `yaml:"music_url"`
LyricUrl string `yaml:"lyric_url"`
}

View File

@@ -5,6 +5,7 @@ type mSite struct {
Menu mMenu `yaml:"menu"`
Post mPost `yaml:"post"`
About mAbout `yaml:"about"`
Music mMusic `yaml:"music"`
Friend mFriend `yaml:"friend"`
Statistics mStatistics `yaml:"statistics"`
}