mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
Remove nodemos meta
This commit is contained in:
parent
95708254a8
commit
6905ad697c
@ -3,7 +3,6 @@
|
||||
- category: Components
|
||||
- chinese: 字体图标
|
||||
- order: 0
|
||||
- nodemos: true
|
||||
|
||||
---
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
</h1>
|
||||
{{ post.html }}
|
||||
</article>
|
||||
{%- if post.meta.template === 'component' && !post.meta.nodemos %}
|
||||
{%- if post.meta.template === 'component' %}
|
||||
{%- include "demos.html" %}
|
||||
{%- endif %}
|
||||
<div class="api-container markdown"></div>
|
||||
|
@ -1,3 +1,5 @@
|
||||
{%- set items = resource.pages|find_demo_in_component(post.meta.directory) %}
|
||||
{%- if items.length > 0 %}
|
||||
<h2 class="component-demos">
|
||||
组件演示
|
||||
<i class="iconfont-home icon-all" title="展开全部代码"></i>
|
||||
@ -9,7 +11,6 @@
|
||||
{%- endif %}
|
||||
</h2>
|
||||
<div class="code-boxes">
|
||||
{%- set items = resource.pages|find_demo_in_component(post.meta.directory) %}
|
||||
{%- if post.meta.cols == 1 %}
|
||||
<div class="code-boxes-col-1-1">
|
||||
{%- for item in items %}
|
||||
@ -32,3 +33,4 @@
|
||||
</div>
|
||||
{%- endif %}
|
||||
</div>
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user