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

Skip to content

Commit cd90761

Browse files
author
xuxinhua
committed
文章右侧增加开源项目推荐
1 parent 0976514 commit cd90761

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

websites/code/studygolang/template/articles/detail.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,21 @@ <h3><span class="cmtnum">{{.article.Cmtnum}}</span>条评论</h3>
157157
</div>
158158
</div>
159159

160+
<div class="col-lg-3 col-md-4 col-sm-5">
161+
<div class="row box_white sidebar">
162+
<div class="top">
163+
<h3 class="title"><i class="glyphicon glyphicon-fire"></i>&nbsp;<a href="/projects" target="_blank" title="点击更多">开源项目</a></h3>
164+
</div>
165+
<div class="sb-content">
166+
<div class="project-list" data-limit="5">
167+
<ul class="list-unstyled">
168+
<img src="/static/img/loaders/loader7.gif" alt="加载中" />
169+
</ul>
170+
</div>
171+
</div>
172+
</div>
173+
</div>
174+
160175
<div class="col-lg-3 col-md-4 col-sm-5">
161176
<div class="row box_white sidebar">
162177
<a href="http://www.shiyanlou.com/courses/startandgetconsole/698" target="_blank"><img src="http://studygolang.qiniudn.com/ad/shiyanlou_golang_env.jpg" alt="实验环境"></a>
@@ -187,6 +202,7 @@ <h3><span class="cmtnum">{{.article.Cmtnum}}</span>条评论</h3>
187202
"/topics/recent.json",
188203
"/resources/recent.json",
189204
"/comments/recent.json",
205+
"/projects/recent.json",
190206
];
191207

192208
$(function(){

0 commit comments

Comments
 (0)