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

Skip to content

Commit 3e77477

Browse files
committed
搜索
1 parent 7bdeccc commit 3e77477

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

websites/code2/studygolang/template/articles/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{define "title"}}网友博文{{end}}
22
{{define "seo"}}<meta name="keywords" content="Go语言博客文章, Go语言博文, Go语言, Golang, Go中文社区,Golang中文社区, Go语言社区, Go语言学习园地">
3-
<meta name="description" content="文章来自国内知名网站,Go爱好者学习笔记,经验分享;也有爱好者自己的博客文章,已经一些国外精彩文章">{{end}}
3+
<meta name="description" content="文章来自国内知名网站,Go爱好者学习笔记,经验分享;也有爱好者自己的博客文章,以及一些国外精彩文章">{{end}}
44
{{define "content"}}
55
<div class="row banner">
66
</div>

websites/code2/studygolang/template/search.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{define "title"}}搜索{{end}}
2-
{{define "seo"}}<meta name="keywords" content="Go语言博客文章, Go语言博文, Go语言, Golang, Go中文社区,Golang中文社区, Go语言社区, Go语言学习园地">
3-
<meta name="description" content="文章来自国内知名网站知名,Go爱好者学习笔记,经验分享;也有爱好者自己的博客文章,已经一些国外精彩文章">{{end}}
2+
{{define "seo"}}<meta name="keywords" content="Go语言博客文章, Go语言博文, Go语言, Golang, Go中文社区,Golang中文社区, Go语言社区,Go语言中文网,Go语言学习园地">
3+
<meta name="description" content="文章来自国内知名网站知名,Go爱好者学习笔记,经验分享;也有爱好者自己的博客文章,以及一些国外精彩文章">{{end}}
44
{{define "content"}}
55
<div class="row header_title">
66
<div class="col-lg-12 col-md-12 col-sm-12 search-box">
@@ -40,7 +40,7 @@
4040
<div class="row">
4141
<div class="col-lg-9 col-md-8 col-sm-7 search-result">
4242
<div class="box_white result-title">
43-
<span class="website">Go语言学习园地</span> 为您找到相关结果 <strong class="num">{{.respBody.NumFound}}</strong>
43+
<span class="website">Go语言中文网</span> 为您找到相关结果 <strong class="num">{{.respBody.NumFound}}</strong>
4444
</div>
4545
{{range .respBody.Docs}}
4646
<article class="article box_white">
@@ -92,10 +92,10 @@ <h2>
9292
</a>
9393
{{if $.likeflags}}
9494
{{$likeFlag := index $.likeflags .Id}}
95-
<a href="#" class="like{{if $likeFlag}} hadlike{{end}}" title="{{if $likeFlag}}取消喜欢{{else}}我喜欢{{end}}" data-objid="{{.Id}}" data-objtype="1" data-flag="{{if $likeFlag}}{{$likeFlag}}{{else}}0{{end}}">
95+
<a href="#" class="like{{if $likeFlag}} hadlike{{end}}" title="{{if $likeFlag}}取消喜欢{{else}}我喜欢{{end}}" data-objid="{{.Id}}" data-objtype="{{.Objtype}}" data-flag="{{if $likeFlag}}{{$likeFlag}}{{else}}0{{end}}">
9696
<i class="glyphicon glyphicon-heart{{if not $likeFlag}}-empty{{end}}"></i>
9797
{{else}}
98-
<a href="#" class="like" title="我喜欢" data-objid="{{.Id}}" data-objtype="1" data-flag="0">
98+
<a href="#" class="like" title="我喜欢" data-objid="{{.Id}}" data-objtype="{{.Objtype}}" data-flag="0">
9999
<i class="glyphicon glyphicon-heart-empty"></i>
100100
{{end}}
101101
<span class="likenum">{{.Likenum}}</span>人喜欢

0 commit comments

Comments
 (0)