ミラー元
https://gitea.phreedom.club/localhost_frssoft/bloat.git
同期済み 2025-07-01 23:34:16 +00:00
Update header template and add option for custom css
このコミットが含まれているのは:
コミット
656ff3931c
16個のファイルの変更、90行の追加、47行の削除
|
@ -16,6 +16,7 @@ type config struct {
|
|||
StaticDirectory string
|
||||
TemplatesGlobPattern string
|
||||
DatabasePath string
|
||||
CustomCSS string
|
||||
Logfile string
|
||||
}
|
||||
|
||||
|
@ -41,6 +42,7 @@ func getDefaultConfig() *config {
|
|||
StaticDirectory: "static",
|
||||
TemplatesGlobPattern: "templates/*",
|
||||
DatabasePath: "database.db",
|
||||
CustomCSS: "",
|
||||
Logfile: "",
|
||||
}
|
||||
}
|
||||
|
@ -83,6 +85,8 @@ func Parse(r io.Reader) (c *config, err error) {
|
|||
c.TemplatesGlobPattern = val
|
||||
case "database_path":
|
||||
c.DatabasePath = val
|
||||
case "custom_css":
|
||||
c.CustomCSS = val
|
||||
case "logfile":
|
||||
c.Logfile = val
|
||||
default:
|
||||
|
|
読み込み中…
Add table
Add a link
新しいイシューから参照