2015-05-07 18:50:36 +08:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
|
2015-05-12 17:50:03 +08:00
|
|
|
{% block title %}
|
|
|
|
{%- if post.title !== config.site.name %}
|
2015-05-27 16:20:28 +08:00
|
|
|
{{post.title}} {{ post.meta.chinese }} - {{config.site.name}}
|
2015-05-12 17:50:03 +08:00
|
|
|
{%- else %}
|
2015-06-04 14:42:24 +08:00
|
|
|
{{ config.site.name }} - {{ config.site.description }}
|
2015-05-12 17:50:03 +08:00
|
|
|
{%- endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
2015-05-07 18:50:36 +08:00
|
|
|
{% block description %}{% if post.summay %}{{post.summary}}{% endif %}{% endblock %}
|
2015-06-04 17:05:28 +08:00
|
|
|
|
|
|
|
{% block aside %}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<section class="main-container main-container-center">
|
|
|
|
<article class="markdown">
|
|
|
|
<h1>{{ post.title }} {{ post.meta.chinese }}</h1>
|
|
|
|
{{ post.html }}
|
|
|
|
</article>
|
|
|
|
</section>
|
|
|
|
{% endblock %}
|
|
|
|
|