|
|
@ -248,6 +248,7 @@ var (
|
|
|
|
// Other settings
|
|
|
|
// Other settings
|
|
|
|
ShowFooterBranding bool
|
|
|
|
ShowFooterBranding bool
|
|
|
|
ShowFooterVersion bool
|
|
|
|
ShowFooterVersion bool
|
|
|
|
|
|
|
|
ShowFooterTemplateLoadTime bool
|
|
|
|
SupportMiniWinService bool
|
|
|
|
SupportMiniWinService bool
|
|
|
|
|
|
|
|
|
|
|
|
// Global setting objects
|
|
|
|
// Global setting objects
|
|
|
@ -571,6 +572,7 @@ func NewContext() {
|
|
|
|
|
|
|
|
|
|
|
|
ShowFooterBranding = Cfg.Section("other").Key("SHOW_FOOTER_BRANDING").MustBool()
|
|
|
|
ShowFooterBranding = Cfg.Section("other").Key("SHOW_FOOTER_BRANDING").MustBool()
|
|
|
|
ShowFooterVersion = Cfg.Section("other").Key("SHOW_FOOTER_VERSION").MustBool()
|
|
|
|
ShowFooterVersion = Cfg.Section("other").Key("SHOW_FOOTER_VERSION").MustBool()
|
|
|
|
|
|
|
|
ShowFooterTemplateLoadTime = Cfg.Section("other").Key("SHOW_FOOTER_TEMPLATE_LOAD_TIME").MustBool()
|
|
|
|
|
|
|
|
|
|
|
|
HasRobotsTxt = com.IsFile(path.Join(CustomPath, "robots.txt"))
|
|
|
|
HasRobotsTxt = com.IsFile(path.Join(CustomPath, "robots.txt"))
|
|
|
|
}
|
|
|
|
}
|
|
|
|