added config variables for default community logo and user photo
This commit is contained in:
@@ -74,6 +74,8 @@ type AmConfig struct {
|
||||
UserAgreementResource string `yaml:"userAgreementResource"`
|
||||
PolicyResource string `yaml:"policyResource"`
|
||||
FooterTemplate string `yaml:"footerTemplate"`
|
||||
DefaultCommunityLogo string `yaml:"defaultCommunityLogo"`
|
||||
DefaultUserPhoto string `yaml:"defaultUserPhoto"`
|
||||
} `yaml:"site"`
|
||||
Database struct {
|
||||
Driver string `yaml:"driver"`
|
||||
|
||||
@@ -21,6 +21,8 @@ site:
|
||||
userAgreementResource: "useragreement.html"
|
||||
policyResource: "policy.html"
|
||||
footerTemplate: "footer.jet"
|
||||
defaultCommunityLogo: "/img/builtin/default-community.jpg"
|
||||
defaultUserPhoto: "/img/builtin/no-user.png"
|
||||
database:
|
||||
driver: "mysql"
|
||||
dsn: "amsdb:x00yes2k@tcp(localhost)/amsterdam?parseTime=true&loc=UTC"
|
||||
|
||||
Reference in New Issue
Block a user