2015-05-12 17:50:03 +08:00
|
|
|
{% extends "page.html" %}
|
2015-06-04 17:05:28 +08:00
|
|
|
|
2015-06-05 17:27:05 +08:00
|
|
|
{% block styles %}
|
|
|
|
<link rel="stylesheet" href="/dist/antd.css">
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
<script src="/dist/antd.js"></script>
|
|
|
|
{% endblock %}
|
|
|
|
|
2015-06-04 17:05:28 +08:00
|
|
|
{% block aside %}
|
2015-06-04 17:56:09 +08:00
|
|
|
{%- include "component-aside.html" %}
|
2015-06-04 17:05:28 +08:00
|
|
|
{% 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 }}
|
|
|
|
{%- if post.meta.template === 'component' && !post.meta.nodemos %}
|
|
|
|
{%- include "demos.html" %}
|
|
|
|
{%- endif %}
|
|
|
|
</article>
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|