aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2018-01-18 14:24:24 +0800
committerGitHub <[email protected]>2018-01-18 14:24:24 +0800
commit68cadf8b077967646b6ff39f768a7de32610d89e (patch)
treec2e7b0fff1290a7ea22f06504b967dec26ef4990 /_templates
parent39509c19a9f758ede935638acd98150b99d2b33d (diff)
parent1717a243a6e6ee42e086057c356eb4dfe4c94250 (diff)
downloadblog.jinwei.me-68cadf8b077967646b6ff39f768a7de32610d89e.tar.gz
Merge pull request #4 from clarkzjw/han
Han
Diffstat (limited to '_templates')
-rw-r--r--_templates/layout.html16
1 files changed, 13 insertions, 3 deletions
diff --git a/_templates/layout.html b/_templates/layout.html
index 76c2c34..c70b8a2 100644
--- a/_templates/layout.html
+++ b/_templates/layout.html
@@ -2,7 +2,7 @@
2{% extends "!layout.html" %} 2{% extends "!layout.html" %}
3 3
4{# Include our new CSS file into existing ones. #} 4{# Include our new CSS file into existing ones. #}
5{% set css_files = css_files + ['_static/flexboxgrid.min.css', '_static/git-pull.css']%} 5{% set css_files = css_files + ['_static/flexboxgrid.min.css', '_static/git-pull.css', '_static/han.min.css']%}
6 6
7<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png"> 7<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
8<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png"> 8<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
@@ -17,11 +17,16 @@
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
20<link rel="manifest" href="/manifest.json"> 21<link rel="manifest" href="/manifest.json">
21<meta name="msapplication-TileColor" content="#ffffff"> 22<meta name="msapplication-TileColor" content="#ffffff">
22<meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> 23<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
23<meta name="theme-color" content="#ffffff"> 24<meta name="theme-color" content="#ffffff">
24 25
26{%- block doctype -%}
27<!DOCTYPE html>
28{%- endblock %}
29
25{%- block content %} 30{%- block content %}
26{%- if theme_fixed_sidebar|lower == 'true' %} 31{%- if theme_fixed_sidebar|lower == 'true' %}
27<div class="document"> 32<div class="document">
@@ -31,7 +36,7 @@
31 {%- if render_sidebar %} 36 {%- if render_sidebar %}
32 <div class="bodywrapper"> 37 <div class="bodywrapper">
33 {%- endif %} 38 {%- endif %}
34 <div class="body" role="main"> 39 <div class="body han-init-context" role="main">
35 {% block body %} 40 {% block body %}
36 {% endblock %} 41 {% endblock %}
37 <div class="just-comments" 42 <div class="just-comments"
@@ -41,6 +46,7 @@
41 <script async defer src="https://just-comments.com/w.js"></script> 46 <script async defer src="https://just-comments.com/w.js"></script>
42 <script async defer src="https://buttons.github.io/buttons.js"></script> 47 <script async defer src="https://buttons.github.io/buttons.js"></script>
43 <script async defer src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> 48 <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>-->
44 </div> 50 </div>
45 {%- if render_sidebar %} 51 {%- if render_sidebar %}
46 </div> 52 </div>
@@ -52,4 +58,8 @@
52{%- else %} 58{%- else %}
53{{ super() }} 59{{ super() }}
54{%- endif %} 60{%- endif %}
55{%- endblock %} \ No newline at end of file 61{%- endblock %}
62
63{%- block footer -%}
64<script async defer type="text/javascript" src="../../../_static/han.min.js"></script>
65{%- endblock %}
Powered by cgit v1.2.3 (git 2.41.0)