Fixed typo and optimized structure

This commit is contained in:
Toby Chui
2025-05-31 14:32:41 +08:00
parent eec6cec0db
commit bf0df928c7
5 changed files with 15 additions and 15 deletions

View File

@@ -14,6 +14,12 @@ import (
"github.com/yosssi/gohtml"
)
type FileInfo struct {
Filename string `json:"filename"`
Title string `json:"title"`
Type string `json:"type"`
}
func build() {
rootDir := "./docs"
outputFile := "./index.json"