mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
30 lines
722 B
HTML
30 lines
722 B
HTML
{% extends "layout.html" %}
|
|
|
|
{% block title %}
|
|
{%- if post.title !== config.site.name %}
|
|
{{post.title}} {{ post.meta.chinese }} - {{config.site.name}}
|
|
{%- else %}
|
|
{{ config.site.name }} - {{ config.site.description }}
|
|
{%- endif %}
|
|
{% endblock %}
|
|
|
|
{% block description %}{% if post.summay %}{{post.summary}}{% endif %}{% endblock %}
|
|
|
|
{% block styles %}
|
|
<link rel="stylesheet" href="/dist/{{ config.package.name }}-{{ config.package.version }}.css">
|
|
{% endblock %}
|
|
|
|
{% block aside %}
|
|
{%- include "aside.html" %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<section class="main-container">
|
|
<article class="markdown">
|
|
<h1>{{ post.title }} {{ post.meta.chinese }}</h1>
|
|
{{ post.html }}
|
|
</article>
|
|
</section>
|
|
{% endblock %}
|
|
|