This commit is contained in:
afc163 2015-09-17 17:37:15 +08:00
parent 499ab3949c
commit 1b39960901
2 changed files with 3 additions and 4 deletions

View File

@ -43,7 +43,6 @@ exports.output = path.join(process.cwd(), '_site');
exports.permalink = '{{directory}}/{{filename}}'; exports.permalink = '{{directory}}/{{filename}}';
exports.antdCssUrl = '../dist/' + package.name + '-' + package.version + exports.minimized + '.css'; exports.antdCssUrl = '../dist/' + package.name + '-' + package.version + exports.minimized + '.css';
exports.antdJsUrl = '../dist/' + package.name + '-' + package.version + exports.minimized + '.js'; exports.antdJsUrl = '../dist/' + package.name + '-' + package.version + exports.minimized + '.js';
console.log(exports.antdCssUrl, exports.antdJsUrl);
exports.ignorefilter = function(filepath, subdir) { exports.ignorefilter = function(filepath, subdir) {
var extname = path.extname(filepath); var extname = path.extname(filepath);

View File

@ -91,16 +91,16 @@
<span class="bar"></span> <span class="bar"></span>
<ul> <ul>
<li class="{%- if post.meta.filepath === 'README.md' %}current{%- endif %}"> <li class="{%- if post.meta.filepath === 'README.md' %}current{%- endif %}">
<a href="/" data-no-instant>首页</a> <a href="{{static_url('../')}}" data-no-instant>首页</a>
</li> </li>
<li class="{%- if post.directory|rootDirectoryIn(['spec']) %}current{%- endif %}"> <li class="{%- if post.directory|rootDirectoryIn(['spec']) %}current{%- endif %}">
<a href="/spec/introduce">设计</a> <a href="{{static_url('../spec/introduce')}}">设计</a>
</li> </li>
<li> <li>
<a class="nav-link-disabled" href="">案例</a> <a class="nav-link-disabled" href="">案例</a>
</li> </li>
<li class="{%- if post.directory|rootDirectoryIn(['docs','components']) %}current{%- endif %}"> <li class="{%- if post.directory|rootDirectoryIn(['docs','components']) %}current{%- endif %}">
<a href="/docs/introduce">React</a> <a href="{{static_url('../docs/introduce')}}">React</a>
</li> </li>
<li> <li>
<a target="_blank" href="https://github.com/ant-design/ant-design">Github</a> <a target="_blank" href="https://github.com/ant-design/ant-design">Github</a>