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

Skip to content

Commit 6a6d546

Browse files
committed
官方文档链接
1 parent fcc8299 commit 6a6d546

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

websites/code/studygolang/static/js/topics.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
}
264264
return result;
265265
}();
266-
console.log(users);
266+
// console.log(users);
267267

268268
App.atReplyable(".cell_comments_new textarea", users);
269269
// 回复表单提交
@@ -328,4 +328,4 @@
328328
$('#alert_info').hide();
329329
});
330330
});
331-
}).call(this)
331+
}).call(this)

websites/code/studygolang/template/common/base.html

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,18 @@
99
<meta name="description" content="中国 Golang 社区,Go语言学习园地,致力于构建完善的 Golang 中文社区,Go语言爱好者的学习家园。完全Go语言实现。">
1010
<meta charset="utf-8">
1111
<link rel="shortcut icon" href="/static/img/go.ico">
12-
<style type="text/css">#yddContainer{display:block;font-family:Microsoft YaHei;position:relative;width:100%;height:100%;top:-4px;left:-4px;font-size:12px;border:1px solid}#yddTop{display:block;height:22px}#yddTopBorderlr{display:block;position:static;height:17px;padding:2px 28px;line-height:17px;font-size:12px;color:#5079bb;font-weight:bold;border-style:none solid;border-width:1px}#yddTopBorderlr .ydd-sp{position:absolute;top:2px;height:0;overflow:hidden}.ydd-icon{left:5px;width:17px;padding:0px 0px 0px 0px;padding-top:17px;background-position:-16px -44px}.ydd-close{right:5px;width:16px;padding-top:16px;background-position:left -44px}#yddKeyTitle{float:left;text-decoration:none}#yddMiddle{display:block;margin-bottom:10px}.ydd-tabs{display:block;margin:5px 0;padding:0 5px;height:18px;border-bottom:1px solid}.ydd-tab{display:block;float:left;height:18px;margin:0 5px -1px 0;padding:0 4px;line-height:18px;border:1px solid;border-bottom:none}.ydd-trans-container{display:block;line-height:160%}.ydd-trans-container a{text-decoration:none;}#yddBottom{position:absolute;bottom:0;left:0;width:100%;height:22px;line-height:22px;overflow:hidden;background-position:left -22px}.ydd-padding010{padding:0 10px}#yddWrapper{color:#252525;z-index:10001;background:url(chrome-extension://eopjamdnofihpioajgfdikhhbobonhbb/ab20.png);}#yddContainer{background:#fff;border-color:#4b7598}#yddTopBorderlr{border-color:#f0f8fc}#yddWrapper .ydd-sp{background-image:url(chrome-extension://eopjamdnofihpioajgfdikhhbobonhbb/ydd-sprite.png)}#yddWrapper a,#yddWrapper a:hover,#yddWrapper a:visited{color:#50799b}#yddWrapper .ydd-tabs{color:#959595}.ydd-tabs,.ydd-tab{background:#fff;border-color:#d5e7f3}#yddBottom{color:#363636}#yddWrapper{min-width:250px;max-width:400px;}</style>
12+
<style type="text/css">#yddContainer{display:block;font-family:Microsoft YaHei;position:relative;width:100%;height:100%;top:-4px;left:-4px;font-size:12px;border:1px solid}#yddTop{display:block;height:22px}#yddTopBorderlr{display:block;position:static;height:17px;padding:2px 28px;line-height:17px;font-size:12px;color:#5079bb;font-weight:bold;border-style:none solid;border-width:1px}#yddTopBorderlr .ydd-sp{position:absolute;top:2px;height:0;overflow:hidden}.ydd-icon{left:5px;width:17px;padding:0px 0px 0px 0px;padding-top:17px;background-position:-16px -44px}.ydd-close{right:5px;width:16px;padding-top:16px;background-position:left -44px}#yddKeyTitle{float:left;text-decoration:none}#yddMiddle{display:block;margin-bottom:10px}.ydd-tabs{display:block;margin:5px 0;padding:0 5px;height:18px;border-bottom:1px solid}.ydd-tab{display:block;float:left;height:18px;margin:0 5px -1px 0;padding:0 4px;line-height:18px;border:1px solid;border-bottom:none}.ydd-trans-container{display:block;line-height:160%}.ydd-trans-container a{text-decoration:none;}#yddBottom{position:absolute;bottom:0;left:0;width:100%;height:22px;line-height:22px;overflow:hidden;background-position:left -22px}.ydd-padding010{padding:0 10px}#yddWrapper{color:#252525;z-index:10001;background:url(chrome-extension://eopjamdnofihpioajgfdikhhbobonhbb/ab20.png);}#yddContainer{background:#fff;border-color:#4b7598}#yddTopBorderlr{border-color:#f0f8fc}#yddWrapper .ydd-sp{background-image:url(chrome-extension://eopjamdnofihpioajgfdikhhbobonhbb/ydd-sprite.png)}#yddWrapper a,#yddWrapper a:hover,#yddWrapper a:visited{color:#50799b}#yddWrapper .ydd-tabs{color:#959595}.ydd-tabs,.ydd-tab{background:#fff;border-color:#d5e7f3}#yddBottom{color:#363636}#yddWrapper{min-width:250px;max-width:400px;}
13+
.new sup {
14+
position: absolute;
15+
display: block;
16+
overflow: hidden;
17+
text-indent: -999px;
18+
width: 23px;
19+
height: 9px;
20+
top: 5px;
21+
right: 40px;
22+
background: url(http://p2.qhimg.com/t010131dd1959c9572b.png) no-repeat 0 0;
23+
}</style>
1324
</head>
1425
<body data-offset="50">
1526
<div class="navbar navbar-fixed-top">
@@ -19,10 +30,10 @@ <h3>
1930
<a href="/"><img alt="Text_logo" src="/static/img/text_logo.png" style="width:123px;height:29px;"></a>
2031
</h3>
2132
<ul class="nav">
22-
<li class="first {{.activeTopics}}"><a href="/topics">社区</a></li><li><a href="http://blog.studygolang.com">博客</a></li><li class="{{.activeResources}}"><a href="/resources">资源</a></li><li class="{{.activeWiki}}"><a href="/wiki">Wiki</a></li><li class="{{.activeSites}}"><a href="/sites">酷站</a></li><li class="last {{.activeUsers}}"><a href="/users">会员</a></li>
33+
<li class="first {{.activeTopics}}"><a href="/topics">社区</a></li><li><a href="http://blog.studygolang.com">博客</a></li><li class="{{.activeResources}}"><a href="/resources">资源</a></li><li class="{{.activeWiki}}"><a href="/wiki">Wiki</a></li><li class="{{.activeSites}}"><a href="/sites">酷站</a></li><li class="new"><a href="http://docs.studygolang.com">官方文档</a><sup></sup></li><li class="last {{.activeUsers}}"><a href="/users">会员</a></li>
2334
</ul>
2435
<form action="/search" class="navbar-search pull-left" method="get">
25-
<input type="text" name="q" class="search-query span3" value="" placeholder="搜索">
36+
<input type="text" name="q" class="search-query span2" value="" placeholder="搜索">
2637
</form>
2738
<ul class="nav pull-right" id="userbar">
2839
{{if .me}}
@@ -149,4 +160,4 @@ <h3>
149160
}
150161
</script>
151162
</body>
152-
</html>
163+
</html>

websites/code/studygolang/template/resources/index.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@
4747

4848
<div class="sidebar">
4949
<div class="box center">
50-
{{if .me.isadmin}}
5150
<div class="content">
5251
<a href="/resources/new" class="btn btn-success">分享资源</a>
5352
</div>
54-
{{end}}
5553
</div>
5654
<div class="box">
5755
<h2 class="title">小贴士</h2>

0 commit comments

Comments
 (0)