|
@@ -27,6 +27,10 @@ EXPLORE_PAGING_NUM = 20
|
|
|
ISSUE_PAGING_NUM = 10
|
|
ISSUE_PAGING_NUM = 10
|
|
|
; Number of maximum commits showed in one activity feed
|
|
; Number of maximum commits showed in one activity feed
|
|
|
FEED_MAX_COMMIT_NUM = 5
|
|
FEED_MAX_COMMIT_NUM = 5
|
|
|
|
|
+; Value of `theme-color` meta tag, used by Android >= 5.0
|
|
|
|
|
+; An invalid color like "none" or "disable" will have the default style
|
|
|
|
|
+; More info: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
|
|
|
|
|
+THEME_COLOR_META_TAG = `#ff5343`
|
|
|
|
|
|
|
|
[ui.admin]
|
|
[ui.admin]
|
|
|
; Number of users that are showed in one page
|
|
; Number of users that are showed in one page
|
|
@@ -41,6 +45,9 @@ ORG_PAGING_NUM = 50
|
|
|
[markdown]
|
|
[markdown]
|
|
|
; Enable hard line break extension
|
|
; Enable hard line break extension
|
|
|
ENABLE_HARD_LINE_BREAK = false
|
|
ENABLE_HARD_LINE_BREAK = false
|
|
|
|
|
+; List of custom URL-Schemes that are allowed as links when rendering Markdown
|
|
|
|
|
+; for example git,magnet
|
|
|
|
|
+CUSTOM_URL_SCHEMES =
|
|
|
|
|
|
|
|
[server]
|
|
[server]
|
|
|
PROTOCOL = http
|
|
PROTOCOL = http
|
|
@@ -88,7 +95,7 @@ USER = root
|
|
|
PASSWD =
|
|
PASSWD =
|
|
|
; For "postgres" only, either "disable", "require" or "verify-full"
|
|
; For "postgres" only, either "disable", "require" or "verify-full"
|
|
|
SSL_MODE = disable
|
|
SSL_MODE = disable
|
|
|
-; For "sqlite3" and "tidb"
|
|
|
|
|
|
|
+; For "sqlite3" and "tidb", use absolute path when you start as service
|
|
|
PATH = /srv/gogs/sqlite/gogs.db
|
|
PATH = /srv/gogs/sqlite/gogs.db
|
|
|
|
|
|
|
|
[admin]
|
|
[admin]
|
|
@@ -113,8 +120,6 @@ REGISTER_EMAIL_CONFIRM = false
|
|
|
DISABLE_REGISTRATION = false
|
|
DISABLE_REGISTRATION = false
|
|
|
; User must sign in to view anything.
|
|
; User must sign in to view anything.
|
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
REQUIRE_SIGNIN_VIEW = false
|
|
|
-; Cache avatar as picture
|
|
|
|
|
-ENABLE_CACHE_AVATAR = false
|
|
|
|
|
; Mail notification
|
|
; Mail notification
|
|
|
ENABLE_NOTIFY_MAIL = false
|
|
ENABLE_NOTIFY_MAIL = false
|
|
|
; More detail: https://github.com/gogits/gogs/issues/165
|
|
; More detail: https://github.com/gogits/gogs/issues/165
|