Configured the site a little
This commit is contained in:
parent
2411e64a53
commit
b465899f85
10 changed files with 121 additions and 20 deletions
|
|
@ -1,9 +1,15 @@
|
|||
package models
|
||||
|
||||
import "io/fs"
|
||||
|
||||
type ThemeMeta struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
URL string `json:"repo"`
|
||||
ID string
|
||||
Name string
|
||||
|
||||
// Source repo
|
||||
URL string
|
||||
OverlayFS fs.FS
|
||||
Overlays map[string]string
|
||||
|
||||
// Indicates that this theme prefers posts have titles.
|
||||
PreferTitle bool
|
||||
|
|
@ -12,5 +18,5 @@ type ThemeMeta struct {
|
|||
AddTitleToPages bool
|
||||
|
||||
// Page bundle for "blog" posts
|
||||
BlogPostBundle string `json:"post_dir"`
|
||||
BlogPostBundle string
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue