new: Added about me page and fixed some bugs

This commit is contained in:
2024-12-19 11:23:19 +08:00
parent 0d419dabd1
commit cbd6d07d52
15 changed files with 267 additions and 40 deletions

8
config/mAbout.go Normal file
View File

@@ -0,0 +1,8 @@
package config
type mAbout struct {
Title string `yaml:"title"`
SRC string `yaml:"src"`
DST string `yaml:"dst"`
Filename string `yaml:"filename"`
}

View File

@@ -1,7 +1,8 @@
package config
type mSite struct {
Info mInfo `yaml:"info"`
Menu mMenu `yaml:"menu"`
Post mPost `yaml:"post"`
Info mInfo `yaml:"info"`
Menu mMenu `yaml:"menu"`
Post mPost `yaml:"post"`
About mAbout `yaml:"about"`
}