diff options
author | clarkzjw <[email protected]> | 2019-07-03 15:36:54 +0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2019-07-03 15:36:54 +0800 |
commit | 87d55dc1b5dd59730d3fb973292ba12babfcf9cf (patch) | |
tree | a376adb9e58855783df40a27d0d1e4048f4afb1b /_templates | |
parent | 04d3dde117414aecc7990c140b4569432455aa1c (diff) | |
download | blog.jinwei.me-87d55dc1b5dd59730d3fb973292ba12babfcf9cf.tar.gz |
+ update
Diffstat (limited to '_templates')
-rw-r--r-- | _templates/layout.html | 11 | ||||
-rw-r--r-- | _templates/more.html | 5 |
2 files changed, 1 insertions, 15 deletions
diff --git a/_templates/layout.html b/_templates/layout.html index 9989f50..a6dba1c 100644 --- a/_templates/layout.html +++ b/_templates/layout.html | |||
@@ -33,11 +33,7 @@ | |||
33 | {{ sidebar() }} | 33 | {{ sidebar() }} |
34 | {%- block document %} | 34 | {%- block document %} |
35 | <div class="documentwrapper"> | 35 | <div class="documentwrapper"> |
36 | {%- if render_sidebar %} | 36 | <div class="body" role="main"> |
37 | <div class="bodywrapper"> | ||
38 | {%- endif %} | ||
39 | |||
40 | <div class="body han-init-context" role="main"> | ||
41 | {% block body %} | 37 | {% block body %} |
42 | {% endblock %} | 38 | {% endblock %} |
43 | <div> | 39 | <div> |
@@ -49,10 +45,7 @@ | |||
49 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="78" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="a"><rect width="78" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h57v20H0z"/><path fill="#e05d44" d="M57 0h21v20H57z"/><path fill="url(#b)" d="M0 0h78v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"><text x="295" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="470">Made w/</text><text x="295" y="140" transform="scale(.1)" textLength="470">Made w/</text><text x="665" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="110">❤</text><text x="665" y="140" transform="scale(.1)" textLength="110">❤</text></g> </svg> | 45 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="78" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="a"><rect width="78" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h57v20H0z"/><path fill="#e05d44" d="M57 0h21v20H57z"/><path fill="url(#b)" d="M0 0h78v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"><text x="295" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="470">Made w/</text><text x="295" y="140" transform="scale(.1)" textLength="470">Made w/</text><text x="665" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="110">❤</text><text x="665" y="140" transform="scale(.1)" textLength="110">❤</text></g> </svg> |
50 | </div> | 46 | </div> |
51 | </div> | 47 | </div> |
52 | </div> | ||
53 | {%- if render_sidebar %} | ||
54 | </div> | 48 | </div> |
55 | {%- endif %} | ||
56 | </div> | 49 | </div> |
57 | {%- endblock %} | 50 | {%- endblock %} |
58 | <div class="clearer"></div> | 51 | <div class="clearer"></div> |
@@ -63,6 +56,4 @@ | |||
63 | {%- endblock %} | 56 | {%- endblock %} |
64 | 57 | ||
65 | {%- block footer %} | 58 | {%- block footer %} |
66 | <script async defer type="text/javascript" src="../../../_static/han.min.js"></script> | ||
67 | <script type="text/javascript">Han.init()</script> | ||
68 | {%- endblock %} | 59 | {%- endblock %} |
diff --git a/_templates/more.html b/_templates/more.html deleted file mode 100644 index e9e022f..0000000 --- a/_templates/more.html +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | {% extends '!more.html' %} | ||
2 | |||
3 | {% block more_content %} | ||
4 | |||
5 | {% endblock %} | ||