Browse Source

update footer

pull/6/head
afc163 10 years ago
parent
commit
a35e609d80
  1. 4
      nico.js
  2. 4
      package.json
  3. 9
      theme/templates/footer.html

4
nico.js

@ -4,7 +4,9 @@ var package = require('./package');
// {{ settings for nico
exports.site = {
name: package.title,
description: package.description
description: package.description,
repo: package.repository.url,
issues: package.bugs.url
};
exports.theme = 'theme';
exports.source = process.cwd();

4
package.json

@ -6,10 +6,10 @@
"homepage": "http://ant-design.github.io/",
"repository": {
"type": "git",
"url": "https://github.com/ant-design/ant-design.github.io"
"url": "https://github.com/ant-design/ant-design"
},
"bugs": {
"url": "https://github.com/ant-design/ant-design.github.io/issues"
"url": "https://github.com/ant-design/ant-design/issues"
},
"dependencies": {
"gregorian-calendar": "~3.0.0",

9
theme/templates/footer.html

@ -2,9 +2,10 @@
<ul>
<li>
<h2>GitHub</h2>
<a href="https://github.com/ant-design/ant-design.github.io">仓库</a>
<a href="https://github.com/react-component/generator-rc">脚手架</a>
<a href="http://react-component.github.io/badgeboard/">模块</a>
<a target="_blank "href="{{ config.site.repo }}">仓库</a>
<a target="_blank" href="https://github.com/ant-design/style">样式库</a>
<a target="_blank" href="https://github.com/react-component/generator-rc">脚手架</a>
<a target="_blank" href="http://react-component.github.io/badgeboard/">模块</a>
</li>
<li>
<h2>关于我们</h2>
@ -12,7 +13,7 @@
</li>
<li>
<h2>联系我们</h2>
<a href="https://github.com/ant-design/ant-design.github.io/issues">问题与建议 - Issues</a>
<a target="_blank" href="{{ config.site.issues }}">问题与建议 - Issues</a>
</li>
<li>
<h3>©2015 蚂蚁金服体验技术部出品</h3>

Loading…
Cancel
Save