forked from gogs/gogsweb.peach
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.ini
56 lines (45 loc) · 1.27 KB
/
app.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
RUN_MODE = prod
[site]
NAME = Gogs Docs
DESC = Gogs is a painless self-hosted Git service.
USE_CDN = true
URL = http://gogs.io
[page]
USE_CUSTOM_TPL = true
[navbar]
-: home
-: download
-: documentation
-: github
[navbar.download]
LOCALE = navbar.download
LINK = https://dl.gogs.io
[navbar.github]
LINK = https://github.com/gogs/gogs
[asset]
CUSTOM_CSS = /css/my.css
[docs]
# "local" or "remote"
TYPE = remote
# Local path or remote Git address
TARGET = https://github.com/gogs/docs.git
# URL query paramter '?secret=xxx' for validation
SECRET = gogs
[i18n]
LANGS = en-US,zh-CN,fr-FR,de-DE
NAMES = English,简体中文,Français,Deutsch
[extension]
ENABLE_SEARCH = false
ENABLE_EDIT_PAGE = true
EDIT_PAGE_LINK_FORMAT = https://github.com/gogs/docs/blob/master/{lang}/{blob}
; ENABLE_DISQUS = true
DISQUS_SHORT_NAME = gogsweb
; Full code block of Google Analytics
GA_BLOCK = """<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40109089-8', 'auto');
ga('send', 'pageview');
</script>"""