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

Skip to content

Commit 7ad5c3e

Browse files
committed
首页更新
1 parent e068451 commit 7ad5c3e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

template/new_index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,19 +204,19 @@
204204
{{end}}
205205
{{end}}
206206
 • 
207-
{{if .Uid}}
207+
{{if .Uid}}
208208
{{$user := index $.users .Uid}}
209209
<strong><a href="/user/{{$user.Username}}" class="noul">{{$user.Username}}</a></strong>
210-
{{else}}
211-
<span>{{.PubTime}}</span>
212-
{{end}}
210+
{{else}}
211+
<span>{{.Author}}</span>
212+
{{end}}
213213
&nbsp;•&nbsp;
214-
{{if .Lastreplyuid}}
214+
{{if .Lastreplyuid}}
215215
{{$user := index $.users .Lastreplyuid}}
216216
<span title="{{.Lastreplytime}}" class="timeago"></span>&nbsp;•&nbsp; 最后回复来自 <strong><a href="/user/{{$user.Username}}" class="noul">{{$user.Username}}</a></strong>
217-
{{else}}
218-
<span>{{.Viewnum}} 点击</span>
219-
{{end}}
217+
{{else}}
218+
<span title="{{.PubTime}}" class="timeago"></span>发布
219+
{{end}}
220220
</span>
221221
</td>
222222
{{if .Cmtnum}}

0 commit comments

Comments
 (0)