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

Skip to content

Commit 852ab13

Browse files
committed
node 修改
1 parent 9b3f99e commit 852ab13

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

websites/code2/studygolang/template/topics/detail.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<ol class="breadcrumb">
1010
<li><a href="/"><i class="glyphicon glyphicon-home"></i> 首页</a></li>
1111
<li><a href="/topics">社区</a></li>
12-
<li><a href="/topics/node{{.topic.nid}}">{{.topic.node}}</a></li>
12+
<li><a href="/topics/node/{{.topic.nid}}">{{.topic.node}}</a></li>
1313
<li class="active">{{.topic.title}}</li>
1414
</ol>
1515
<div class="page box_white">

websites/code2/studygolang/template/topics/node.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ <h2>{{.node.name}}</h2>
3232
<a href="/topics/{{.tid}}" title="{{.title}}">{{substring .title 60 "..."}}</a>
3333
</div>
3434
<div class="meta">
35-
<a href="/topics/node{{.nid}}" class="node" title="{{.node}}">{{.node}}</a>
35+
<a href="/topics/node/{{.nid}}" class="node" title="{{.node}}">{{.node}}</a>
3636
3737
<a href="/user/{{.user.Username}}" title="{{.user.Username}}" class="author"><strong>{{.user.Username}}</strong></a>
3838
{{if .lastreplyuid}}

websites/code2/studygolang/template/user/profile.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ <h2 class="title">最近发布的主题</h2>
6161
<ul class="list-unstyled">
6262
{{range .topics}}
6363
<li>
64-
<span class="node"><a href="/topics/node{{.Nid}}" class="node">{{.Node}}</a></span>
64+
<span class="node"><a href="/topics/node/{{.Nid}}" class="node">{{.Node}}</a></span>
6565
<a href="/topics/{{.Tid}}" title="{{.Title}}">{{substring .Title 60 "..."}}</a>
6666
<span class="info">at <abbr class="timeago" title="{{.Ctime}}"></abbr></span>
6767
</li>

0 commit comments

Comments
 (0)