mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-30 10:05:10 +01:00
00629fea95
* static url * add cors support for static resources * [assets] work on the migration to configurable url for assets Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [misc] fix whitespace Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [assets] fix the loading of the manifest.json It is generated dynamically, and as such can not be served by the cdn. Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * Revert "add cors support for static resources" This reverts commit42f964fd18
Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [docs] add the STATIC_URL_PREFIX option Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [docs] reverse-proxy: nginx: add two setups for STATIC_URL_PREFIX Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [assets] migrate the url of a new asset to the static url prefix REF:f2a3abc683
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
54 lines
1.6 KiB
Cheetah
Vendored
54 lines
1.6 KiB
Cheetah
Vendored
{{template "base/head" .}}
|
|
<div class="home">
|
|
<div class="ui stackable middle very relaxed page grid">
|
|
<div class="sixteen wide center aligned centered column">
|
|
<div>
|
|
<img class="logo" src="{{StaticUrlPrefix}}/img/gitea-lg.png" />
|
|
</div>
|
|
<div class="hero">
|
|
<h1 class="ui icon header title">
|
|
{{AppName}}
|
|
</h1>
|
|
<h2>{{.i18n.Tr "startpage.app_desc"}}</h2>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ui stackable middle very relaxed page grid">
|
|
<div class="eight wide center column">
|
|
<h1 class="hero ui icon header">
|
|
<i class="octicon octicon-flame"></i> {{.i18n.Tr "startpage.install"}}
|
|
</h1>
|
|
<p class="large">
|
|
{{.i18n.Tr "startpage.install_desc" | Str2html}}
|
|
</p>
|
|
</div>
|
|
<div class="eight wide center column">
|
|
<h1 class="hero ui icon header">
|
|
<i class="octicon octicon-device-desktop"></i> {{.i18n.Tr "startpage.platform"}}
|
|
</h1>
|
|
<p class="large">
|
|
{{.i18n.Tr "startpage.platform_desc" | Str2html}}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="ui stackable middle very relaxed page grid">
|
|
<div class="eight wide center column">
|
|
<h1 class="hero ui icon header">
|
|
<i class="octicon octicon-rocket"></i> {{.i18n.Tr "startpage.lightweight"}}
|
|
</h1>
|
|
<p class="large">
|
|
{{.i18n.Tr "startpage.lightweight_desc" | Str2html}}
|
|
</p>
|
|
</div>
|
|
<div class="eight wide center column">
|
|
<h1 class="hero ui icon header">
|
|
<i class="octicon octicon-code"></i> {{.i18n.Tr "startpage.license"}}
|
|
</h1>
|
|
<p class="large">
|
|
{{.i18n.Tr "startpage.license_desc" | Str2html}}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|