summaryrefslogtreecommitdiffstats
path: root/templates/home.tmpl
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-09-19 20:11:34 -0400
committerUnknwon <joe2010xtmf@163.com>2014-09-19 20:11:34 -0400
commit7ba9257a7ff659417501baf7358216555cebcd86 (patch)
treeffc842cec4165d1069220ae16e08a0b824952f4b /templates/home.tmpl
parent6a7bd097fe2b3e894830fc3fdb60dde5594b61d6 (diff)
downloadgitea-7ba9257a7ff659417501baf7358216555cebcd86.tar.gz
gitea-7ba9257a7ff659417501baf7358216555cebcd86.zip
Add suburl support
Diffstat (limited to 'templates/home.tmpl')
-rw-r--r--templates/home.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/home.tmpl b/templates/home.tmpl
index 0fa7086940..da73025dc8 100644
--- a/templates/home.tmpl
+++ b/templates/home.tmpl
@@ -3,12 +3,12 @@
<div id="promo-wrapper">
<div class="container clear">
<div id="promo-logo" class="left">
- <img src="{{AppRootSubUrl}}/img/gogs-lg.png" alt="logo" />
+ <img src="{{AppSubUrl}}/img/gogs-lg.png" alt="logo" />
</div>
<div id="promo-content">
<h1>Gogs</h1>
<h2>{{.i18n.Tr "app_desc"}}</h2>
- <form id="promo-form" action="{{AppRootSubUrl}}/user/login" method="post">
+ <form id="promo-form" action="{{AppSubUrl}}/user/login" method="post">
{{.CsrfTokenHtml}}
<input class="ipt ipt-large" id="username" name="uname" type="text" placeholder="{{.i18n.Tr "home.uname_holder"}}"/>
<input class="ipt ipt-large" name="password" type="password" placeholder="{{.i18n.Tr "home.password_holder"}}"/>