©️ year
This commit is contained in:
parent
72e54f6509
commit
d641800309
|
@ -150,7 +150,7 @@ func LoginHandler(w http.ResponseWriter, r *http.Request) {
|
|||
// show the login page
|
||||
|
||||
model := map[string]interface{}{"conf": conf.Wide, "i18n": i18n.GetAll(conf.Wide.Locale),
|
||||
"locale": conf.Wide.Locale, "ver": conf.WideVersion}
|
||||
"locale": conf.Wide.Locale, "ver": conf.WideVersion, "year": time.Now().Year()}
|
||||
|
||||
t, err := template.ParseFiles("views/login.html")
|
||||
|
||||
|
@ -231,7 +231,7 @@ func SignUpUser(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
model := map[string]interface{}{"conf": conf.Wide, "i18n": i18n.GetAll(conf.Wide.Locale),
|
||||
"locale": conf.Wide.Locale, "ver": conf.WideVersion, "dir": dir,
|
||||
"pathSeparator": conf.PathSeparator}
|
||||
"pathSeparator": conf.PathSeparator, "year": time.Now().Year()}
|
||||
|
||||
t, err := template.ParseFiles("views/sign_up.html")
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
</div>
|
||||
<div class="footer">
|
||||
<div class="wrapper">
|
||||
Ver {{.ver}}, © 2014 <a rel="copyright" href="http://b3log.org" target="_blank">B3LOG.ORG</a>
|
||||
Ver {{.ver}}, © {{.year}} <a rel="copyright" href="http://b3log.org" target="_blank">B3LOG.ORG</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
</div>
|
||||
<div class="footer">
|
||||
<div class="wrapper">
|
||||
Ver {{.ver}}, © 2014 <a rel="copyright" href="http://b3log.org" target="_blank">B3LOG.ORG</a>
|
||||
Ver {{.ver}}, © {{.year}} <a rel="copyright" href="http://b3log.org" target="_blank">B3LOG.ORG</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue