mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +08:00
34 lines
793 B
HTML
34 lines
793 B
HTML
{% extends "page.html" %}
|
|
|
|
{% block styles %}
|
|
<link rel="stylesheet" href="/dist/antd.css">
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
<script src="/dist/antd.js"></script>
|
|
{% endblock %}
|
|
|
|
{% block aside %}
|
|
{%- include "component-aside.html" %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<section class="main-container">
|
|
<article class="markdown">
|
|
<h1>
|
|
{{ post.title }} {{ post.meta.chinese }}
|
|
{%- if post.meta.API %}
|
|
<a class="api-link" href="http://{{ post.meta.API }}" target="_blank">
|
|
<i class="iconfont-home icon-externallink"></i>
|
|
API 使用说明
|
|
</a>
|
|
{%- endif %}
|
|
</h1>
|
|
{{ post.html }}
|
|
</article>
|
|
{%- if post.meta.template === 'component' && !post.meta.nodemos %}
|
|
{%- include "demos.html" %}
|
|
{%- endif %}
|
|
</section>
|
|
{% endblock %}
|