Skip to content

Commit 3c07144

Browse files
chore(announcement): change default announcement text (#1319)
* chore(announcement): change default announcement text for better clarity - Improve site announcement style for a more polished look - Adjust default value to avoid unclear meaning with only repo or single link
1 parent 3936e73 commit 3c07144

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/bootstrap/data/setting.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func InitialSettings() []model.SettingItem {
100100
//{Key: conf.ApiUrl, Value: "", Type: conf.TypeString, Group: model.SITE},
101101
//{Key: conf.BasePath, Value: "", Type: conf.TypeString, Group: model.SITE},
102102
{Key: conf.SiteTitle, Value: "OpenList", Type: conf.TypeString, Group: model.SITE},
103-
{Key: conf.Announcement, Value: "### repo\nhttps://github.com/OpenListTeam/OpenList", Type: conf.TypeText, Group: model.SITE},
103+
{Key: conf.Announcement, Value: "Welcome to the OpenList project!\nFor the latest updates, to contribute code, or to submit suggestions and issues, please visit our [project repository](https://github.com/OpenListTeam/OpenList).", Type: conf.TypeText, Group: model.SITE},
104104
{Key: "pagination_type", Value: "all", Type: conf.TypeSelect, Options: "all,pagination,load_more,auto_load_more", Group: model.SITE},
105105
{Key: "default_page_size", Value: "30", Type: conf.TypeNumber, Group: model.SITE},
106106
{Key: conf.AllowIndexed, Value: "false", Type: conf.TypeBool, Group: model.SITE},

0 commit comments

Comments
 (0)