Properly detect whether the instance is official

This commit is contained in:
Cadence Ember 2022-09-05 01:46:29 +12:00
parent 68832059bd
commit eabe699587
Signed by untrusted user: cadence
GPG key ID: BC1C2C61CF521B17

View file

@ -60,7 +60,7 @@
(footer (@ (class "custom-footer")) (footer (@ (class "custom-footer"))
(div (@ (class "internal-footer")) (div (@ (class "internal-footer"))
(img (@ (class "my-logo") (src "/static/breezewiki.svg"))) (img (@ (class "my-logo") (src "/static/breezewiki.svg")))
,(if (config-get 'instance_is_official) ,(if (config-true? 'instance_is_official)
`(div `(div
(p ,(format "This instance is run by the ~a developer, " (config-get 'application_name)) (p ,(format "This instance is run by the ~a developer, " (config-get 'application_name))
(a (@ (href "https://cadence.moe/contact")) (a (@ (href "https://cadence.moe/contact"))