diff options
author | clarkzjw <[email protected]> | 2018-01-15 16:07:54 +0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2018-01-15 16:07:54 +0800 |
commit | 1f6bd6faefb07c4bc3465b810e3ad21c7d25474f (patch) | |
tree | b782e07fab0196e5a77e27df6b958df1b73be474 /_templates | |
parent | 73f2d9c87b9beb5eaae5b18b2a64ea2d1c3c4633 (diff) | |
download | blog.jinwei.me-1f6bd6faefb07c4bc3465b810e3ad21c7d25474f.tar.gz |
+ add comments
Diffstat (limited to '_templates')
-rw-r--r-- | _templates/layout.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/_templates/layout.html b/_templates/layout.html index 18a9de8..d49ad2e 100644 --- a/_templates/layout.html +++ b/_templates/layout.html | |||
@@ -21,3 +21,31 @@ | |||
21 | <meta name="msapplication-TileColor" content="#ffffff"> | 21 | <meta name="msapplication-TileColor" content="#ffffff"> |
22 | <meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> | 22 | <meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> |
23 | <meta name="theme-color" content="#ffffff"> | 23 | <meta name="theme-color" content="#ffffff"> |
24 | |||
25 | {%- block content %} | ||
26 | {%- if theme_fixed_sidebar|lower == 'true' %} | ||
27 | <div class="document"> | ||
28 | {{ sidebar() }} | ||
29 | {%- block document %} | ||
30 | <div class="documentwrapper"> | ||
31 | {%- if render_sidebar %} | ||
32 | <div class="bodywrapper"> | ||
33 | {%- endif %} | ||
34 | <div class="body" role="main"> | ||
35 | {% block body %} | ||
36 | {% endblock %} | ||
37 | <div class="just-comments" data-allowguests="true" data-apikey="4bb18080-e236-4513-bd72-3a032f35d3bb"> | ||
38 | </div> | ||
39 | <script async src="https://just-comments.com/w.js"></script> | ||
40 | </div> | ||
41 | {%- if render_sidebar %} | ||
42 | </div> | ||
43 | {%- endif %} | ||
44 | </div> | ||
45 | {%- endblock %} | ||
46 | <div class="clearer"></div> | ||
47 | </div> | ||
48 | {%- else %} | ||
49 | {{ super() }} | ||
50 | {%- endif %} | ||
51 | {%- endblock %} \ No newline at end of file | ||