ant-design/site/templates/page.html
2016-03-09 18:42:50 +08:00

27 lines
706 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 aside %}
{%- include "aside.html" %}
{% endblock %}
{% block content %}
<section class="main-container">
<article class="markdown">
<h1>{{ post.title }} <span class="subtitle">{{ post.meta.subtitle }}</span></h1>
{{ post.meta.description }}
<div class="toc">{{ post.toc }}</div>
{{ post.html|add_anchor }}
</article>
</section>
{% endblock %}