From a9dfeef1267d60d784a6488ae3e0c88f108866ae Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Thu, 18 Jan 2018 14:48:11 +0800 Subject: + init --- _templates/layout.html | 5 +++-- conf.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_templates/layout.html b/_templates/layout.html index 23e48f6..04d2577 100644 --- a/_templates/layout.html +++ b/_templates/layout.html @@ -28,14 +28,14 @@ {%- block content %} {%- if theme_fixed_sidebar|lower == 'true' %} -
+
{{ sidebar() }} {%- block document %}
{%- if render_sidebar %}
{%- endif %} -
+
{% block body %} {% endblock %}
+ {%- endblock %} diff --git a/conf.py b/conf.py index 7df20af..74e7505 100644 --- a/conf.py +++ b/conf.py @@ -35,7 +35,7 @@ extensions = [ ] html_title = 'Hello World' - +language='zh-Hans-CN' templates_path = ['_templates'] source_suffix = '.rst' -- cgit v1.2.3