Skip to content

Commit 6f9d630

Browse files
committed
增加源码信息
1 parent 45f4710 commit 6f9d630

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

index.html

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,15 @@ <h3>
6969
</ol>
7070

7171
<h3>
72-
<a id="演示" class="anchor" href="#%E6%BC%94%E7%A4%BA" aria-hidden="true"><span aria-hidden="true"
73-
class="octicon octicon-link"></span></a>演示
72+
<a id="演示" class="anchor" href="#%E6%BC%94%E7%A4%BA" aria-hidden="true">
73+
<span aria-hidden="true" class="octicon octicon-link"></span>
74+
</a>演示
7475
</h3>
7576

7677
<ol>
77-
<li>示例:<a target="_blank" href="http://demo.hsweb.me">demo.hsweb.me</a>
78-
</li>
78+
<li>示例:<a target="_blank" href="http://demo.hsweb.me">demo.hsweb.me</a></li>
7979
<li>测试用户:test (test2,test3,test4....) 密码:123456</li>
80-
<li>演示项目源码:<a target="_blank" href="https://github.com/hs-web/hsweb-demo">hsweb-demo</a>
81-
</li>
80+
<li>演示项目源码:<a target="_blank" href="https://github.com/hs-web/hsweb-demo">hsweb-demo</a></li>
8281
</ol>
8382

8483
<h3>
@@ -131,7 +130,16 @@ <h3>
131130
<a target="_blank" href="https://github.com/hs-web/hsweb-expands/tree/master/hsweb-expands-template">hsweb-expands-template</a>:各种模板引擎
132131
</li>
133132
</ol>
134-
133+
<h3>
134+
<a id="source" class="anchor" href="#source" aria-hidden="true">
135+
<span aria-hidden="true" class="octicon octicon-link"></span>
136+
</a>项目源代码
137+
</h3>
138+
<div style="width: 100%;">
139+
<div class="github-widget" data-repo="hs-web/hsweb-framework"></div>
140+
<br/>
141+
<script src='https://git.oschina.net/hsweb/hsweb-framework/widget_preview'></script>
142+
</div>
135143
<h3>
136144
<a id="donate" class="anchor" href="#donate" aria-hidden="true">
137145
<span aria-hidden="true" class="octicon octicon-link"></span>
@@ -253,6 +261,7 @@ <h3><a id="links" class="anchor" href="#links" aria-hidden="true"><span aria-hid
253261

254262
</body>
255263
</html>
264+
<script type="text/javascript" src="javascripts/GithubRepoWidget.min.js"></script>
256265
<script type="text/javascript">
257266
var urls = {
258267
travis: "https://travis-ci.org/hs-web/hsweb-framework.svg?branch=master"
@@ -262,5 +271,5 @@ <h3><a id="links" class="anchor" href="#links" aria-hidden="true"><span aria-hid
262271
document.getElementById(id).setAttribute("src", urls[id]);
263272
}
264273
}, 500);
265-
274+
GithubRepoWidget.init();
266275
</script>

javascripts/GithubRepoWidget.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)