mirror of
https://github.com/yv1ing/MollyBlog.git
synced 2025-09-16 14:53:45 +08:00
new: Complete modules related to home page, archive page and article page
This commit is contained in:
17
config/mPost.go
Normal file
17
config/mPost.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package config
|
||||
|
||||
type mPost struct {
|
||||
TocTitle string `yaml:"toc_title"`
|
||||
RecentPost mRecentPost `yaml:"recent_post"`
|
||||
Archive mArchive `yaml:"archive"`
|
||||
}
|
||||
|
||||
type mRecentPost struct {
|
||||
Title string `yaml:"title"`
|
||||
Number int `yaml:"number"`
|
||||
}
|
||||
|
||||
type mArchive struct {
|
||||
Title string `yaml:"title"`
|
||||
Number int `yaml:"number"`
|
||||
}
|
||||
Reference in New Issue
Block a user