ant-design/site/templates/component.html
2015-08-23 14:46:11 +08:00

23 lines
578 B
HTML

{% extends "page.html" %}
{% 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="anticon anticon-link"></i>
API 使用说明
</a>
{%- endif %}
</h1>
{{ post.html }}
</article>
{%- if post.meta.template === 'component' %}
{%- include "demos.html" %}
{%- endif %}
<div class="api-container markdown"></div>
</section>
{% endblock %}