Skip to content
This repository was archived by the owner on Jun 21, 2019. It is now read-only.

Commit a0ade16

Browse files
committed
bug fixed
1 parent 1b14618 commit a0ade16

File tree

8 files changed

+19
-21
lines changed

8 files changed

+19
-21
lines changed

templates/about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!DOCTYPE html>
2-
<html lang="zh-CN">
2+
<html lang="{{.Lang}}">
33
<head>
44
{{include "base/head.html"}}
5-
<title>{{i18n .Lang "homepage"}} - xorm: {{i18n .Lang "app_intro"}}</title>
5+
<title>{{i18n .Lang "about"}} - xorm: {{i18n .Lang "app_intro"}}</title>
66

77
<link rel="stylesheet" href="/css/bootstrap.css">
88
<link rel="stylesheet" href="/css/font-awesome.min.css" />

templates/base/footer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
<p>
2323
<a href="/about"><strong>{{i18n .Lang "about"}}</strong></a>
2424
|
25-
<!--<a href="/team"><strong>{{i18n .Lang "team"}}</strong></a>
26-
|-->
25+
<a href="https://github.com/orgs/go-xorm/members"><strong>{{i18n .Lang "team"}}</strong></a>
26+
|
2727
<a target="_blank" href="https://github.com/go-xorm/website" target="_blank"><strong><i class="icon-github-sign"></i> Github</strong></a>
2828
- {{loadtimes}}ms. | Based on
2929
<a href="http://github.com/go-xweb/xweb">Xweb</a> v{{.T.XwebVer}}, <a href="http://golang.org">Golang</a> {{.T.GoVer}}

templates/base/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<meta charset="utf-8">
22
<meta http-equiv="X-UA-Compatible" content="IE=edge">
33
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
4-
<link rel="shortcut icon" href="/img/favicon.png" />
4+
<link rel="shortcut icon" href="{{StaticUrl "img/favicon.png"}}"/>
55
<meta name="description" content="{{i18n .Lang "app_fullintro"}}" />
66
<meta name="keywords" content="Go, golang, orm, xorm">
77
<meta name="author" content="Lunny Xiao" />

templates/base/navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<span class="icon-bar"></span>
1818
</a>
1919
<a class="hidden-xs logo" href="/">
20-
<img style="height:32px;" src="/img/favicon.png">
20+
<img style="height:32px;" src="{{StaticUrl "img/favicon.png"}}">
2121
</a>
2222
<div class="visible-xs text-center">
2323
<a class="navbar-brand" href="/">

templates/docs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!DOCTYPE html>
2-
<html lang="zh-CN">
2+
<html lang="{{.Lang}}">
33
<head>
44
{{include "base/head.html"}}
5-
<title>{{i18n .Lang "homepage"}} - xorm: {{i18n .Lang "app_intro"}}</title>
5+
<title>{{i18n .Lang "docs"}} - xorm: {{i18n .Lang "app_intro"}}</title>
66
<link rel="stylesheet" href="/css/bootstrap.css">
77
<link rel="stylesheet" href="/css/bootstrap-theme.css" />
88
<link rel="stylesheet" href="/css/font-awesome.min.css" />

templates/donate.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!DOCTYPE html>
2-
<html lang="zh-CN">
2+
<html lang="{{.Lang}}">
33
<head>
44
{{include "base/head.html"}}
5-
<title>{{i18n .Lang "homepage"}} - xorm: {{i18n .Lang "app_intro"}}</title>
5+
<title>{{i18n .Lang "donate"}} - xorm: {{i18n .Lang "app_intro"}}</title>
66
<link rel="stylesheet" href="/css/bootstrap.css">
77
<link rel="stylesheet" href="/css/bootstrap-theme.css" />
88
<link rel="stylesheet" href="/css/font-awesome.min.css" />

templates/home.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="zh-CN">
2+
<html lang="{{.Lang}}">
33
<head>
44
{{include "base/head.html"}}
55
<title>{{i18n .Lang "homepage"}} - xorm: {{i18n .Lang "app_intro"}}</title>
@@ -8,7 +8,6 @@
88
<link rel="stylesheet" href="/css/font-awesome.min.css" />
99
<link rel="stylesheet" href="/css/prettify.css" />
1010
<link rel="stylesheet" href="/css/select2.css" />
11-
1211
<link rel="stylesheet" href="/css/base.css">
1312
<link rel="stylesheet" href="/css/markdown.css">
1413
<link rel="stylesheet" href="/css/main.css">
@@ -54,9 +53,8 @@ <h2>{{i18n .Lang "home.quick_start"}}</h2>
5453
<p>Xorm Tools Installation</p>
5554
<p><code>go get github.com/go-xorm/cmd/xorm</code></p>
5655
<p>Source Document</p>
57-
<p><code>go get github.com/go-xorm/xorm</code></p>
58-
<p>Xorm Tools Installation</p>
59-
<p><code>go get github.com/go-xorm/cmd/xorm</code></p>
56+
<p><a href="http://gowalker.org/github.com/go-xorm/xorm" target="_blank">gowalker.org/github.com/go-xorm/xorm</a></p>
57+
<p><a href="http://godoc.org/github.com/go-xorm/xorm" target="_blank">godoc.org/github.com/go-xorm/xorm</a></p>
6058
{{end}}
6159
</div>
6260
</div>
@@ -202,7 +200,7 @@ <h2>{{i18n .Lang "home.who_are_use"}}</h2>
202200
<div class="col-md-4">
203201
<h2>{{i18n .Lang "home.friends"}}</h2>
204202
<div class="whouse">
205-
<a target="_blank" href="http://gogs.io/">Go Daily</a>
203+
<a target="_blank" href="http://godaily.org/">Go Daily</a>
206204
</div>
207205
</div>
208206
</div>

templates/link.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
<!DOCTYPE html>
2-
<html lang="zh-CN">
2+
<html lang="{{.Lang}}">
33
<head>
44
{{include "base/head.html"}}
5-
<title>{{i18n .Lang "homepage"}} - xorm: {{i18n .Lang "app_intro"}}</title>
5+
<title>{{i18n .Lang "link"}} - xorm: {{i18n .Lang "app_intro"}}</title>
66
<link rel="stylesheet" href="/css/bootstrap.css">
77
<link rel="stylesheet" href="/css/bootstrap-theme.css" />
88
<link rel="stylesheet" href="/css/font-awesome.min.css" />
99
<link rel="stylesheet" href="/css/prettify.css" />
1010
<link rel="stylesheet" href="/css/select2.css" />
11-
1211
<link rel="stylesheet" href="/css/base.css">
1312
<link rel="stylesheet" href="/css/markdown.css">
1413
<link rel="stylesheet" href="/css/main.css">
@@ -21,10 +20,11 @@
2120
<div class="row">
2221
<div class="col-md-12">
2322
<ul>
24-
<li>[2014-06-17] <a href="http://obahua.com/xorm-go-orm-advanced-usage/" target="_blank">XORM - Go ORM: advanced usage</a></li>
23+
<li>[2014-06-17] <a href="http://www.tudou.com/programs/view/Ye0SQF6zyLI/" target="_blank">XORM - Go ORM: advanced usage</a></li>
24+
<li>[2014-06-17] <a href="http://obahua.com/xorm-go-orm-advanced-usage/" target="_blank">xorm - 课时 2:高级用法讲解[视频]</a></li>
2525
<li>[2014-06-01] <a href="http://wuwen.org/article/36/02-xorm-class2.html" target="_blank">xorm - 课时 2:高级用法讲解</a></li>
2626
<li>[2014-05-09] <a href="http://obahua.com/xorm-go-orm-basic-guide/" target="_blank">XORM - Go ORM: basic guide</a></li>
27-
<li>[2014-04-21] <a href="http://www.tudou.com/programs/view/HRUEtXXV_QM/" target="_blank">《Go名库讲解》02-xorm 课时1:常见用法指导</a></li>
27+
<li>[2014-04-21] <a href="http://www.tudou.com/programs/view/HRUEtXXV_QM/" target="_blank">《Go名库讲解》02-xorm 课时1:常见用法指导[视频]</a></li>
2828
<li>[2014-04-05] <a href="http://wuwen.org/article/28/02-xorm-class1.html">xorm - 课时 1:常见用法指导</a></li>
2929
<li>[2014-03-10] <a href="http://my.oschina.net/goskyblue/blog/206799">Xorm 速记卡</a></li>
3030
<li>[2014-01-02] <a href="http://blog.go-china.org/02-go_xorm" target="_blank">XORM的七种武器</a></li>

0 commit comments

Comments
 (0)