ant-design/site/templates/component.html

23 lines
589 B
HTML
Raw Normal View History

2015-05-12 17:50:03 +08:00
{% extends "page.html" %}
2015-06-04 17:05:28 +08:00
{% 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">
2015-08-23 14:46:11 +08:00
<i class="anticon anticon-link"></i>
2015-06-04 17:05:28 +08:00
API 使用说明
</a>
{%- endif %}
</h1>
{{ post.html|add_anchor }}
2015-06-04 17:05:28 +08:00
</article>
2015-08-22 16:36:07 +08:00
{%- if post.meta.template === 'component' %}
2015-06-09 22:07:15 +08:00
{%- include "demos.html" %}
{%- endif %}
2015-08-19 11:26:30 +08:00
<div class="api-container markdown"></div>
2015-06-04 17:05:28 +08:00
</section>
{% endblock %}