component.html 793 字节
Newer Older
A
aside  
afc163 已提交
1
{% extends "page.html" %}
A
afc163 已提交
2

A
afc163 已提交
3 4 5 6 7 8 9 10
{% block styles %}
<link rel="stylesheet" href="/dist/antd.css">
{% endblock %}

{% block scripts %}
<script src="/dist/antd.js"></script>
{% endblock %}

A
afc163 已提交
11
{% block aside %}
A
afc163 已提交
12
{%- include "component-aside.html" %}
A
afc163 已提交
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
{% 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>
A
afc163 已提交
29 30 31
  {%- if post.meta.template === 'component' && !post.meta.nodemos %}
  {%- include "demos.html" %}
  {%- endif %}
A
afc163 已提交
32 33
</section>
{% endblock %}