mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-28 12:46:09 +01:00
fix old naming
This is the old naming of the variable and I forgot to fix it. It now works and is tested.
This commit is contained in:
parent
56006da34b
commit
e347736c9e
|
@ -426,7 +426,7 @@ func NewContext() {
|
||||||
dateLangs = Cfg.Section("i18n.datelang").KeysHash()
|
dateLangs = Cfg.Section("i18n.datelang").KeysHash()
|
||||||
|
|
||||||
ShowFooterBranding = Cfg.Section("other").Key("SHOW_FOOTER_BRANDING").MustBool()
|
ShowFooterBranding = Cfg.Section("other").Key("SHOW_FOOTER_BRANDING").MustBool()
|
||||||
EnableShowVersion = Cfg.Section("other").Key("ENABLE_SHOW_VERSION").MustBool()
|
ShowFooterVersion = Cfg.Section("other").Key("SHOW_FOOTER_VERSION").MustBool()
|
||||||
|
|
||||||
HasRobotsTxt = com.IsFile(path.Join(CustomPath, "robots.txt"))
|
HasRobotsTxt = com.IsFile(path.Join(CustomPath, "robots.txt"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue