Configured the site a little

This commit is contained in:
Leon Mika 2025-03-30 10:39:02 +11:00
parent 2411e64a53
commit b465899f85
10 changed files with 121 additions and 20 deletions

View file

@ -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
}