aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2018-01-18 14:42:14 +0800
committerclarkzjw <[email protected]>2018-01-18 14:42:14 +0800
commita8f67d73413974bbe2f96076d9b7a05aa2813455 (patch)
tree728fe25cfddbc3f87cb00216376cf92a99cb0c0a
parent7b5c86881fb1705939caa971ea4fe0d52cba5b33 (diff)
downloadblog.jinwei.me-a8f67d73413974bbe2f96076d9b7a05aa2813455.tar.gz
+ init
-rw-r--r--_templates/layout.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/_templates/layout.html b/_templates/layout.html
index d109cf2..23e48f6 100644
--- a/_templates/layout.html
+++ b/_templates/layout.html
@@ -17,7 +17,6 @@
17<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> 17<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
18<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png"> 18<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
19<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> 19<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
20
21<link rel="manifest" href="/manifest.json"> 20<link rel="manifest" href="/manifest.json">
22<meta name="msapplication-TileColor" content="#ffffff"> 21<meta name="msapplication-TileColor" content="#ffffff">
23<meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> 22<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
@@ -29,14 +28,14 @@
29 28
30{%- block content %} 29{%- block content %}
31{%- if theme_fixed_sidebar|lower == 'true' %} 30{%- if theme_fixed_sidebar|lower == 'true' %}
32<div class="document"> 31<div class="document han-init-context">
33 {{ sidebar() }} 32 {{ sidebar() }}
34 {%- block document %} 33 {%- block document %}
35 <div class="documentwrapper"> 34 <div class="documentwrapper">
36 {%- if render_sidebar %} 35 {%- if render_sidebar %}
37 <div class="bodywrapper"> 36 <div class="bodywrapper">
38 {%- endif %} 37 {%- endif %}
39 <div class="body han-init-context" role="main"> 38 <div class="body" role="main">
40 {% block body %} 39 {% block body %}
41 {% endblock %} 40 {% endblock %}
42 <div class="just-comments" 41 <div class="just-comments"
@@ -46,7 +45,6 @@
46 <script async defer src="https://just-comments.com/w.js"></script> 45 <script async defer src="https://just-comments.com/w.js"></script>
47 <script async defer src="https://buttons.github.io/buttons.js"></script> 46 <script async defer src="https://buttons.github.io/buttons.js"></script>
48 <script async defer src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> 47 <script async defer src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
49 <!--<script type="text/javascript" src="../../../_static/han.min.js"></script>-->
50 </div> 48 </div>
51 {%- if render_sidebar %} 49 {%- if render_sidebar %}
52 </div> 50 </div>
@@ -62,7 +60,4 @@
62 60
63{%- block footer -%} 61{%- block footer -%}
64<script async defer type="text/javascript" src="../../../_static/han.min.js"></script> 62<script async defer type="text/javascript" src="../../../_static/han.min.js"></script>
65<script>
66Han.init()
67</script>
68{%- endblock %} 63{%- endblock %}
Powered by cgit v1.2.3 (git 2.41.0)