Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f3c98f5

Browse files
author
xuxinhua
committed
bugfix
1 parent f21b375 commit f3c98f5

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed
Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,7 @@
1-
{{define "title"}}对不起,此页面不存在 {{end}}
1+
{{define "title"}}寻找遗失儿童 {{end}}
22
{{define "seo"}}<meta name="keywords" content="Go语言,Golang,Go社区,Go中文社区,Golang中文社区,Go语言社区,Go语言学习,学习Go语言,Go语言学习园地,Golang 中国,Golang中国,Golang China, Go语言论坛">
33
<meta name="description" content="Go语言中文网,中国 Golang 社区,Go语言学习园地,致力于构建完善的 Golang 中文社区,Go语言爱好者的学习家园。分享 Go 语言知识,交流使用经验">{{end}}
4-
{{define "content"}}
5-
<div id="main" class="container-fluid">
6-
<div class="content">
7-
<h2>对不起,此页面不存在</h2>
8-
<p>将在<span id="jumpTo">5</span>秒后跳转到<a href="/">首页</a></p>
9-
</div>
10-
</div>
11-
{{end}}
4+
{{define "content"}}{{end}}
125
{{define "js"}}
13-
<script type="text/javascript">
14-
function countDown(secs, surl){
15-
var jumpTo = document.getElementById('jumpTo');
16-
jumpTo.innerHTML=secs;
17-
if (--secs > 0){
18-
setTimeout("countDown("+secs+",'"+surl+"')",1000);
19-
} else {
20-
location.href=surl;
21-
}
22-
}
23-
countDown(5,'/');
24-
</script>
6+
<script type="text/javascript" src="http://www.qq.com/404/search_children.js" charset="utf-8"></script>
257
{{end}}
Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,25 @@
1-
{{define "title"}}寻找遗失儿童 {{end}}
1+
{{define "title"}}对不起,此页面不存在 {{end}}
22
{{define "seo"}}<meta name="keywords" content="Go语言,Golang,Go社区,Go中文社区,Golang中文社区,Go语言社区,Go语言学习,学习Go语言,Go语言学习园地,Golang 中国,Golang中国,Golang China, Go语言论坛">
33
<meta name="description" content="Go语言中文网,中国 Golang 社区,Go语言学习园地,致力于构建完善的 Golang 中文社区,Go语言爱好者的学习家园。分享 Go 语言知识,交流使用经验">{{end}}
4-
{{define "content"}}{{end}}
4+
{{define "content"}}
5+
<div id="main" class="container-fluid">
6+
<div class="content">
7+
<h2>对不起,此页面不存在</h2>
8+
<p>将在<span id="jumpTo">5</span>秒后跳转到<a href="/">首页</a></p>
9+
</div>
10+
</div>
11+
{{end}}
512
{{define "js"}}
6-
<script type="text/javascript" src="http://www.qq.com/404/search_children.js" charset="utf-8"></script>
13+
<script type="text/javascript">
14+
function countDown(secs, surl){
15+
var jumpTo = document.getElementById('jumpTo');
16+
jumpTo.innerHTML=secs;
17+
if (--secs > 0){
18+
setTimeout("countDown("+secs+",'"+surl+"')",1000);
19+
} else {
20+
location.href=surl;
21+
}
22+
}
23+
countDown(5,'/');
24+
</script>
725
{{end}}

0 commit comments

Comments
 (0)