mirror of
https://github.com/yv1ing/MollyBlog.git
synced 2025-09-16 14:53:45 +08:00
new: Added post search module
This commit is contained in:
@@ -4,7 +4,9 @@ type mPost struct {
|
||||
TocTitle string `yaml:"toc_title"`
|
||||
RecentPost mRecentPost `yaml:"recent_post"`
|
||||
Archive mArchive `yaml:"archive"`
|
||||
Search mSearch `yaml:"search"`
|
||||
Tag mTag `yaml:"tag"`
|
||||
Category mCategory `yaml:"category"`
|
||||
}
|
||||
|
||||
type mRecentPost struct {
|
||||
@@ -17,6 +19,17 @@ type mArchive struct {
|
||||
Number int `yaml:"number"`
|
||||
}
|
||||
|
||||
type mTag struct {
|
||||
Number int `yaml:"number"`
|
||||
type mSearch struct {
|
||||
Title string `yaml:"title"`
|
||||
Number int `yaml:"number"`
|
||||
}
|
||||
|
||||
type mTag struct {
|
||||
Title string `yaml:"title"`
|
||||
Number int `yaml:"number"`
|
||||
}
|
||||
|
||||
type mCategory struct {
|
||||
Title string `yaml:"title"`
|
||||
Number int `yaml:"number"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user