You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

app.ini 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545
  1. ; App name that shows on every page title
  2. APP_NAME = Gitea: Git with a cup of tea
  3. ; Change it if you run locally
  4. RUN_USER = git
  5. ; Either "dev", "prod" or "test", default is "dev"
  6. RUN_MODE = dev
  7. [repository]
  8. ROOT =
  9. SCRIPT_TYPE = bash
  10. ; Default ANSI charset
  11. ANSI_CHARSET =
  12. ; Force every new repository to be private
  13. FORCE_PRIVATE = false
  14. ; Global maximum creation limit of repository per user, -1 means no limit
  15. MAX_CREATION_LIMIT = -1
  16. ; Mirror sync queue length, increase if mirror syncing starts hanging
  17. MIRROR_QUEUE_LENGTH = 1000
  18. ; Patch test queue length, increase if pull request patch testing starts hanging
  19. PULL_REQUEST_QUEUE_LENGTH = 1000
  20. ; Preferred Licenses to place at the top of the List
  21. ; Name must match file name in conf/license or custom/conf/license
  22. PREFERRED_LICENSES = Apache License 2.0,MIT License
  23. ; Disable ability to interact with repositories by HTTP protocol
  24. DISABLE_HTTP_GIT = false
  25. ; Force ssh:// clone url instead of scp-style uri when default SSH port is used
  26. USE_COMPAT_SSH_URI = false
  27. [repository.editor]
  28. ; List of file extensions that should have line wraps in the CodeMirror editor
  29. ; Separate extensions with a comma. To line wrap files w/o extension, just put a comma
  30. LINE_WRAP_EXTENSIONS = .txt,.md,.markdown,.mdown,.mkd,
  31. ; Valid file modes that have a preview API associated with them, such as api/v1/markdown
  32. ; Separate values by commas. Preview tab in edit mode won't show if the file extension doesn't match
  33. PREVIEWABLE_FILE_MODES = markdown
  34. [repository.local]
  35. ; Path for uploads. Defaults to `tmp/local-repo`
  36. LOCAL_COPY_PATH = tmp/local-repo
  37. [repository.upload]
  38. ; Whether repository file uploads are enabled. Defaults to `true`
  39. ENABLED = true
  40. ; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart)
  41. TEMP_PATH = data/tmp/uploads
  42. ; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file type
  43. ALLOWED_TYPES =
  44. ; Max size of each file in MB. Defaults to 3MB
  45. FILE_MAX_SIZE = 3
  46. ; Max number of files per upload. Defaults to 5
  47. MAX_FILES = 5
  48. [ui]
  49. ; Number of repositories that are showed in one explore page
  50. EXPLORE_PAGING_NUM = 20
  51. ; Number of issues that are showed in one page
  52. ISSUE_PAGING_NUM = 10
  53. ; Number of maximum commits showed in one activity feed
  54. FEED_MAX_COMMIT_NUM = 5
  55. ; Value of `theme-color` meta tag, used by Android >= 5.0
  56. ; An invalid color like "none" or "disable" will have the default style
  57. ; More info: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
  58. THEME_COLOR_META_TAG = `#6cc644`
  59. ; Max size of files to be displayed (defaults is 8MiB)
  60. MAX_DISPLAY_FILE_SIZE = 8388608
  61. ; Whether show the user email in the Explore Users page
  62. SHOW_USER_EMAIL = true
  63. [ui.admin]
  64. ; Number of users that are showed in one page
  65. USER_PAGING_NUM = 50
  66. ; Number of repos that are showed in one page
  67. REPO_PAGING_NUM = 50
  68. ; Number of notices that are showed in one page
  69. NOTICE_PAGING_NUM = 25
  70. ; Number of organization that are showed in one page
  71. ORG_PAGING_NUM = 50
  72. [ui.user]
  73. ; Number of repos that are showed in one page
  74. REPO_PAGING_NUM = 15
  75. [ui.meta]
  76. AUTHOR = Gitea - Git with a cup of tea
  77. DESCRIPTION = Gitea (Git with a cup of tea) is a painless self-hosted Git service written in Go
  78. KEYWORDS = go,git,self-hosted,gitea
  79. [markdown]
  80. ; Enable hard line break extension
  81. ENABLE_HARD_LINE_BREAK = false
  82. ; List of custom URL-Schemes that are allowed as links when rendering Markdown
  83. ; for example git,magnet
  84. CUSTOM_URL_SCHEMES =
  85. ; List of file extensions that should be rendered/edited as Markdown
  86. ; Separate extensions with a comma. To render files w/o extension as markdown, just put a comma
  87. FILE_EXTENSIONS = .md,.markdown,.mdown,.mkd
  88. [server]
  89. ; Listen protocol. One of 'http', 'https', 'unix' or 'fcgi'.
  90. PROTOCOL = http
  91. DOMAIN = localhost
  92. ROOT_URL = %(PROTOCOL)s://%(DOMAIN)s:%(HTTP_PORT)s/
  93. ; Listen address. Either a IPv4/IPv6 address or the path to a unix socket.
  94. HTTP_ADDR = 0.0.0.0
  95. HTTP_PORT = 3000
  96. ; Permission for unix socket
  97. UNIX_SOCKET_PERMISSION = 666
  98. ; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service.
  99. ; In most cases you do not need to change the default value.
  100. ; Alter it only if your SSH server node is not the same as HTTP node.
  101. LOCAL_ROOT_URL = %(PROTOCOL)s://%(HTTP_ADDR)s:%(HTTP_PORT)s/
  102. ; Disable SSH feature when not available
  103. DISABLE_SSH = false
  104. ; Whether use builtin SSH server or not.
  105. START_SSH_SERVER = false
  106. ; Domain name to be exposed in clone URL
  107. SSH_DOMAIN = %(DOMAIN)s
  108. ; Network interface builtin SSH server listens on
  109. SSH_LISTEN_HOST =
  110. ; Port number to be exposed in clone URL
  111. SSH_PORT = 22
  112. ; Port number builtin SSH server listens on
  113. SSH_LISTEN_PORT = %(SSH_PORT)s
  114. ; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'.
  115. SSH_ROOT_PATH =
  116. ; Directory to create temporary files when test public key using ssh-keygen,
  117. ; default is system temporary directory.
  118. SSH_KEY_TEST_PATH =
  119. ; Path to ssh-keygen, default is 'ssh-keygen' and let shell find out which one to call.
  120. SSH_KEYGEN_PATH = ssh-keygen
  121. ; Enable SSH Authorized Key Backup when rewriting all keys, default is true
  122. SSH_BACKUP_AUTHORIZED_KEYS = true
  123. ; Enable exposure of SSH clone URL to anonymous visitors, default is false
  124. SSH_EXPOSE_ANONYMOUS = false
  125. ; Indicate whether to check minimum key size with corresponding type
  126. MINIMUM_KEY_SIZE_CHECK = false
  127. ; Disable CDN even in "prod" mode
  128. OFFLINE_MODE = false
  129. DISABLE_ROUTER_LOG = false
  130. ; Generate steps:
  131. ; $ ./gitea cert -ca=true -duration=8760h0m0s -host=myhost.example.com
  132. ;
  133. ; Or from a .pfx file exported from the Windows certificate store (do
  134. ; not forget to export the private key):
  135. ; $ openssl pkcs12 -in cert.pfx -out cert.pem -nokeys
  136. ; $ openssl pkcs12 -in cert.pfx -out key.pem -nocerts -nodes
  137. CERT_FILE = custom/https/cert.pem
  138. KEY_FILE = custom/https/key.pem
  139. ; Upper level of template and static file path
  140. ; default is the path where Gitea is executed
  141. STATIC_ROOT_PATH =
  142. ; Default path for App data
  143. APP_DATA_PATH = data
  144. ; Application level GZIP support
  145. ENABLE_GZIP = false
  146. ; Landing page for non-logged users, can be "home" or "explore"
  147. LANDING_PAGE = home
  148. ; Enables git-lfs support. true or false, default is false.
  149. LFS_START_SERVER = false
  150. ; Where your lfs files put on, default is data/lfs.
  151. LFS_CONTENT_PATH = data/lfs
  152. ; LFS authentication secret, changed this to yourself.
  153. LFS_JWT_SECRET =
  154. ; Define allowed algorithms and their minimum key length (use -1 to disable a type)
  155. [ssh.minimum_key_sizes]
  156. ED25519 = 256
  157. ECDSA = 256
  158. RSA = 2048
  159. DSA = 1024
  160. [database]
  161. ; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice
  162. DB_TYPE = mysql
  163. HOST = 127.0.0.1:3306
  164. NAME = gitea
  165. USER = root
  166. PASSWD =
  167. ; For "postgres" only, either "disable", "require" or "verify-full"
  168. SSL_MODE = disable
  169. ; For "sqlite3" and "tidb", use absolute path when you start as service
  170. PATH = data/gitea.db
  171. ; For "sqlite3" only. Query timeout
  172. SQLITE_TIMEOUT = 500
  173. [indexer]
  174. ISSUE_INDEXER_PATH = indexers/issues.bleve
  175. UPDATE_BUFFER_LEN = 20
  176. [admin]
  177. ; Disable regular (non-admin) users to create organizations
  178. DISABLE_REGULAR_ORG_CREATION = false
  179. [security]
  180. ; Whether the installer is disabled
  181. INSTALL_LOCK = false
  182. ; !!CHANGE THIS TO KEEP YOUR USER DATA SAFE!!
  183. SECRET_KEY = !#@FDEWREWR&*(
  184. ; Auto-login remember days
  185. LOGIN_REMEMBER_DAYS = 7
  186. COOKIE_USERNAME = gitea_awesome
  187. COOKIE_REMEMBER_NAME = gitea_incredible
  188. ; Reverse proxy authentication header name of user name
  189. REVERSE_PROXY_AUTHENTICATION_USER = X-WEBAUTH-USER
  190. ; Sets the minimum password length for new Users
  191. MIN_PASSWORD_LENGTH = 6
  192. ; True when users are allowed to import local server paths
  193. IMPORT_LOCAL_PATHS = false
  194. [openid]
  195. ;
  196. ; OpenID is an open standard and decentralized authentication protocol.
  197. ; Your identity is the address of a webpage you provide, which describes
  198. ; how to prove you are in control of that page.
  199. ;
  200. ; For more info: https://en.wikipedia.org/wiki/OpenID
  201. ;
  202. ; Current implementation supports OpenID-2.0
  203. ;
  204. ; Tested to work providers at the time of writing:
  205. ; - Any GNUSocial node (your.hostname.tld/username)
  206. ; - Any SimpleID provider (http://simpleid.koinic.net)
  207. ; - http://openid.org.cn/
  208. ; - openid.stackexchange.com
  209. ; - login.launchpad.net
  210. ; - <username>.livejournal.com
  211. ;
  212. ; Whether to allow signin in via OpenID
  213. ENABLE_OPENID_SIGNIN = true
  214. ; Whether to allow registering via OpenID
  215. ; Do not include to rely on DISABLE_REGISTRATION setting
  216. ;ENABLE_OPENID_SIGNUP = true
  217. ; Allowed URI patterns (POSIX regexp).
  218. ; Space separated.
  219. ; Only these would be allowed if non-blank.
  220. ; Example value: trusted.domain.org trusted.domain.net
  221. WHITELISTED_URIS =
  222. ; Forbidden URI patterns (POSIX regexp).
  223. ; Space sepaated.
  224. ; Only used if WHITELISTED_URIS is blank.
  225. ; Example value: loadaverage.org/badguy stackexchange.com/.*spammer
  226. BLACKLISTED_URIS =
  227. [service]
  228. ; Time limit to confirm account/email registration
  229. ACTIVE_CODE_LIVE_MINUTES = 180
  230. ; Time limit to confirm forgot password reset process
  231. RESET_PASSWD_CODE_LIVE_MINUTES = 180
  232. ; User need to confirm e-mail for registration
  233. REGISTER_EMAIL_CONFIRM = false
  234. ; Does not allow register and admin create account only
  235. DISABLE_REGISTRATION = false
  236. ; User must sign in to view anything.
  237. REQUIRE_SIGNIN_VIEW = false
  238. ; Mail notification
  239. ENABLE_NOTIFY_MAIL = false
  240. ; More detail: https://github.com/go-gitea/gitea/issues/165
  241. ENABLE_REVERSE_PROXY_AUTHENTICATION = false
  242. ENABLE_REVERSE_PROXY_AUTO_REGISTRATION = false
  243. ; Enable captcha validation for registration
  244. ENABLE_CAPTCHA = true
  245. ; Default value for KeepEmailPrivate
  246. ; New user will get the value of this setting copied into their profile
  247. DEFAULT_KEEP_EMAIL_PRIVATE = false
  248. ; Default value for AllowCreateOrganization
  249. ; New user will have rights set to create organizations depending on this setting
  250. DEFAULT_ALLOW_CREATE_ORGANIZATION = true
  251. ; Default value for the domain part of the user's email address in the git log
  252. ; if he has set KeepEmailPrivate true. The user's email replaced with a
  253. ; concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS.
  254. NO_REPLY_ADDRESS = noreply.example.org
  255. [webhook]
  256. ; Hook task queue length, increase if webhook shooting starts hanging
  257. QUEUE_LENGTH = 1000
  258. ; Deliver timeout in seconds
  259. DELIVER_TIMEOUT = 5
  260. ; Allow insecure certification
  261. SKIP_TLS_VERIFY = false
  262. ; Number of history information in each page
  263. PAGING_NUM = 10
  264. [mailer]
  265. ENABLED = false
  266. ; Buffer length of channel, keep it as it is if you don't know what it is.
  267. SEND_BUFFER_LEN = 100
  268. ; Name displayed in mail title
  269. SUBJECT = %(APP_NAME)s
  270. ; Mail server
  271. ; Gmail: smtp.gmail.com:587
  272. ; QQ: smtp.qq.com:465
  273. ; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used.
  274. HOST =
  275. ; Disable HELO operation when hostname are different.
  276. DISABLE_HELO =
  277. ; Custom hostname for HELO operation, default is from system.
  278. HELO_HOSTNAME =
  279. ; Do not verify the certificate of the server. Only use this for self-signed certificates
  280. SKIP_VERIFY =
  281. ; Use client certificate
  282. USE_CERTIFICATE = false
  283. CERT_FILE = custom/mailer/cert.pem
  284. KEY_FILE = custom/mailer/key.pem
  285. ; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <email@example.com>` format
  286. FROM =
  287. ; Mailer user name and password
  288. USER =
  289. PASSWD =
  290. ; Send mails as plain text
  291. SEND_AS_PLAIN_TEXT = false
  292. ; Enable sendmail (override SMTP)
  293. USE_SENDMAIL = false
  294. ; Specifiy an alternative sendmail binary
  295. SENDMAIL_PATH = sendmail
  296. [cache]
  297. ; Either "memory", "redis", or "memcache", default is "memory"
  298. ADAPTER = memory
  299. ; For "memory" only, GC interval in seconds, default is 60
  300. INTERVAL = 60
  301. ; For "redis" and "memcache", connection host address
  302. ; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
  303. ; memcache: `127.0.0.1:11211`
  304. HOST =
  305. [session]
  306. ; Either "memory", "file", or "redis", default is "memory"
  307. PROVIDER = memory
  308. ; Provider config options
  309. ; memory: not have any config yet
  310. ; file: session file path, e.g. `data/sessions`
  311. ; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180
  312. ; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table`
  313. PROVIDER_CONFIG = data/sessions
  314. ; Session cookie name
  315. COOKIE_NAME = i_like_gitea
  316. ; If you use session in https only, default is false
  317. COOKIE_SECURE = false
  318. ; Enable set cookie, default is true
  319. ENABLE_SET_COOKIE = true
  320. ; Session GC time interval in seconds, default is 86400 (1 day)
  321. GC_INTERVAL_TIME = 86400
  322. ; Session life time in seconds, default is 86400 (1 day)
  323. SESSION_LIFE_TIME = 86400
  324. [picture]
  325. AVATAR_UPLOAD_PATH = data/avatars
  326. ; Chinese users can choose "duoshuo"
  327. ; or a custom avatar source, like: http://cn.gravatar.com/avatar/
  328. GRAVATAR_SOURCE = gravatar
  329. ; This value will be forced to be true in offline mode.
  330. DISABLE_GRAVATAR = false
  331. ; Federated avatar lookup uses DNS to discover avatar associated
  332. ; with emails, see https://www.libravatar.org
  333. ; This value will be forced to be false in offline mode or Gravatar is disbaled.
  334. ENABLE_FEDERATED_AVATAR = false
  335. [attachment]
  336. ; Whether attachments are enabled. Defaults to `true`
  337. ENABLE = true
  338. ; Path for attachments. Defaults to `data/attachments`
  339. PATH = data/attachments
  340. ; One or more allowed types, e.g. image/jpeg|image/png
  341. ALLOWED_TYPES = image/jpeg|image/png|application/zip|application/gzip
  342. ; Max size of each file. Defaults to 32MB
  343. MAX_SIZE = 4
  344. ; Max number of files per upload. Defaults to 10
  345. MAX_FILES = 5
  346. [time]
  347. ; Specifies the format for fully outputed dates. Defaults to RFC1123
  348. ; Special supported values are ANSIC, UnixDate, RubyDate, RFC822, RFC822Z, RFC850, RFC1123, RFC1123Z, RFC3339, RFC3339Nano, Kitchen, Stamp, StampMilli, StampMicro and StampNano
  349. ; For more information about the format see http://golang.org/pkg/time/#pkg-constants
  350. FORMAT =
  351. [log]
  352. ROOT_PATH =
  353. ; Either "console", "file", "conn", "smtp" or "database", default is "console"
  354. ; Use comma to separate multiple modes, e.g. "console, file"
  355. MODE = console
  356. ; Buffer length of channel, keep it as it is if you don't know what it is.
  357. BUFFER_LEN = 10000
  358. ; Either "Trace", "Debug", "Info", "Warn", "Error", "Critical", default is "Trace"
  359. LEVEL = Trace
  360. ; For "console" mode only
  361. [log.console]
  362. LEVEL =
  363. ; For "file" mode only
  364. [log.file]
  365. LEVEL =
  366. ; This enables automated log rotate(switch of following options), default is true
  367. LOG_ROTATE = true
  368. ; Max line number of single file, default is 1000000
  369. MAX_LINES = 1000000
  370. ; Max size shift of single file, default is 28 means 1 << 28, 256MB
  371. MAX_SIZE_SHIFT = 28
  372. ; Segment log daily, default is true
  373. DAILY_ROTATE = true
  374. ; Expired days of log file(delete after max days), default is 7
  375. MAX_DAYS = 7
  376. ; For "conn" mode only
  377. [log.conn]
  378. LEVEL =
  379. ; Reconnect host for every single message, default is false
  380. RECONNECT_ON_MSG = false
  381. ; Try to reconnect when connection is lost, default is false
  382. RECONNECT = false
  383. ; Either "tcp", "unix" or "udp", default is "tcp"
  384. PROTOCOL = tcp
  385. ; Host address
  386. ADDR =
  387. ; For "smtp" mode only
  388. [log.smtp]
  389. LEVEL =
  390. ; Name displayed in mail title, default is "Diagnostic message from server"
  391. SUBJECT = Diagnostic message from server
  392. ; Mail server
  393. HOST =
  394. ; Mailer user name and password
  395. USER =
  396. PASSWD =
  397. ; Receivers, can be one or more, e.g. 1@example.com,2@example.com
  398. RECEIVERS =
  399. ; For "database" mode only
  400. [log.database]
  401. LEVEL =
  402. ; Either "mysql" or "postgres"
  403. DRIVER =
  404. ; Based on xorm, e.g.: root:root@localhost/gitea?charset=utf8
  405. CONN =
  406. [cron]
  407. ; Enable running cron tasks periodically.
  408. ENABLED = true
  409. ; Run cron tasks when Gitea starts.
  410. RUN_AT_START = false
  411. ; Update mirrors
  412. [cron.update_mirrors]
  413. SCHEDULE = @every 10m
  414. ; Repository health check
  415. [cron.repo_health_check]
  416. SCHEDULE = @every 24h
  417. TIMEOUT = 60s
  418. ; Arguments for command 'git fsck', e.g. "--unreachable --tags"
  419. ; see more on http://git-scm.com/docs/git-fsck/1.7.5
  420. ARGS =
  421. ; Check repository statistics
  422. [cron.check_repo_stats]
  423. RUN_AT_START = true
  424. SCHEDULE = @every 24h
  425. ; Clean up old repository archives
  426. [cron.archive_cleanup]
  427. RUN_AT_START = true
  428. SCHEDULE = @every 24h
  429. ; Archives created more than OLDER_THAN ago are subject to deletion
  430. OLDER_THAN = 24h
  431. ; Synchronize external user data (only LDAP user synchronization is supported)
  432. [cron.sync_external_users]
  433. ; Syncronize external user data when starting server (default false)
  434. RUN_AT_START = false
  435. ; Interval as a duration between each synchronization (default every 24h)
  436. SCHEDULE = @every 24h
  437. ; Create new users, update existing user data and disable users that are not in external source anymore (default)
  438. ; or only create new users if UPDATE_EXISTING is set to false
  439. UPDATE_EXISTING = true
  440. [git]
  441. ; Disables highlight of added and removed changes
  442. DISABLE_DIFF_HIGHLIGHT = false
  443. ; Max number of lines allowed of a single file in diff view
  444. MAX_GIT_DIFF_LINES = 1000
  445. ; Max number of characters of a line allowed in diff view
  446. MAX_GIT_DIFF_LINE_CHARACTERS = 5000
  447. ; Max number of files shown in diff view
  448. MAX_GIT_DIFF_FILES = 100
  449. ; Arguments for command 'git gc', e.g. "--aggressive --auto"
  450. ; see more on http://git-scm.com/docs/git-gc/1.7.5
  451. GC_ARGS =
  452. ; Operation timeout in seconds
  453. [git.timeout]
  454. MIGRATE = 600
  455. MIRROR = 300
  456. CLONE = 300
  457. PULL = 300
  458. GC = 60
  459. [mirror]
  460. ; Default interval as a duration between each check
  461. DEFAULT_INTERVAL = 8h
  462. ; Min interval as a duration must be > 1m
  463. MIN_INTERVAL = 10m
  464. [api]
  465. ; Max number of items will response in a page
  466. MAX_RESPONSE_ITEMS = 50
  467. [i18n]
  468. LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR
  469. NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano,Suomalainen,Türkçe,čeština,Српски,Svenska,한국어
  470. ; Used for datetimepicker
  471. [i18n.datelang]
  472. en-US = en
  473. zh-CN = zh
  474. zh-HK = zh-TW
  475. zh-TW = zh-TW
  476. de-DE = de
  477. fr-FR = fr
  478. nl-NL = nl
  479. lv-LV = lv
  480. ru-RU = ru
  481. ja-JP = ja
  482. es-ES = es
  483. pt-BR = pt-BR
  484. pl-PL = pl
  485. bg-BG = bg
  486. it-IT = it
  487. fi-FI = fi
  488. tr-TR = tr
  489. cs-CZ = cs-CZ
  490. sr-SP = sr
  491. sv-SE = sv
  492. ko-KR = ko
  493. ; Extension mapping to highlight class
  494. ; e.g. .toml=ini
  495. [highlight.mapping]
  496. [other]
  497. SHOW_FOOTER_BRANDING = false
  498. ; Show version information about Gitea and Go in the footer
  499. SHOW_FOOTER_VERSION = true
  500. ; Show time of template execution in the footer
  501. SHOW_FOOTER_TEMPLATE_LOAD_TIME = true