mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 19:49:59 +08:00
update
This commit is contained in:
parent
c5e67da18f
commit
0693ae7b86
@ -12,5 +12,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"nico": "*"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "nico build",
|
||||
"start": "nico server",
|
||||
"clean": "rm -rf dist"
|
||||
}
|
||||
}
|
||||
|
@ -3,3 +3,7 @@
|
||||
---
|
||||
|
||||
123
|
||||
|
||||
```html
|
||||
<button>按钮</button>
|
||||
```
|
||||
|
@ -1,13 +0,0 @@
|
||||
{% extends "layout.html" %}
|
||||
|
||||
{% block main -%}
|
||||
<div class="main">
|
||||
<div class="main-box" id="main">
|
||||
<div class="banner-box">
|
||||
<div id="bannerAnim"></div>
|
||||
<div class="banner-img"></div>
|
||||
<div class="banner-text"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{%- endblock %}
|
3
src/index.md
Normal file
3
src/index.md
Normal file
@ -0,0 +1,3 @@
|
||||
# home
|
||||
|
||||
---
|
@ -5,6 +5,10 @@ exports.reader = function(post) {
|
||||
} else {
|
||||
post.template = post.meta.template = (post.meta.template || 'page');
|
||||
}
|
||||
if (filename === 'readme.md') {
|
||||
post.filename = post.meta.filename = 'index';
|
||||
post.meta.category = 'docs';
|
||||
}
|
||||
if (!post.meta.category) {
|
||||
post.meta.category = post.meta.directory;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user