mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
Fix url
This commit is contained in:
parent
499ab3949c
commit
1b39960901
1
nico.js
1
nico.js
@ -43,7 +43,6 @@ exports.output = path.join(process.cwd(), '_site');
|
||||
exports.permalink = '{{directory}}/{{filename}}';
|
||||
exports.antdCssUrl = '../dist/' + package.name + '-' + package.version + exports.minimized + '.css';
|
||||
exports.antdJsUrl = '../dist/' + package.name + '-' + package.version + exports.minimized + '.js';
|
||||
console.log(exports.antdCssUrl, exports.antdJsUrl);
|
||||
|
||||
exports.ignorefilter = function(filepath, subdir) {
|
||||
var extname = path.extname(filepath);
|
||||
|
@ -91,16 +91,16 @@
|
||||
<span class="bar"></span>
|
||||
<ul>
|
||||
<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 class="{%- if post.directory|rootDirectoryIn(['spec']) %}current{%- endif %}">
|
||||
<a href="/spec/introduce">设计</a>
|
||||
<a href="{{static_url('../spec/introduce')}}">设计</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="nav-link-disabled" href="">案例</a>
|
||||
</li>
|
||||
<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>
|
||||
<a target="_blank" href="https://github.com/ant-design/ant-design">Github</a>
|
||||
|
Loading…
Reference in New Issue
Block a user