diff options
author | clarkzjw <[email protected]> | 2020-06-30 21:20:05 +0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2020-06-30 21:20:05 +0800 |
commit | 54b0d10c231e40107544d8814304b03e4cd75306 (patch) | |
tree | e960f2ef115eaf75874578d0097c30f9f6c01e13 /_templates/layout.html | |
parent | 69db07d3d551f3382e8e7cbb9f3336fa6926dd8c (diff) | |
download | blog.jinwei.me-54b0d10c231e40107544d8814304b03e4cd75306.tar.gz |
Diffstat (limited to '_templates/layout.html')
-rw-r--r-- | _templates/layout.html | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/_templates/layout.html b/_templates/layout.html index dbb6d28..0816685 100644 --- a/_templates/layout.html +++ b/_templates/layout.html | |||
@@ -2,8 +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', '_static/han.min.css']%} | 5 | {% set css_files = css_files + ['_static/han.min.css']%} |
6 | {% set scripts_files = css_files + ['_static/w.js']%} | ||
7 | 6 | ||
8 | <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"> |
9 | <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"> |
@@ -29,14 +28,12 @@ | |||
29 | {%- block content %} | 28 | {%- block content %} |
30 | {%- if theme_fixed_sidebar|lower == 'true' %} | 29 | {%- if theme_fixed_sidebar|lower == 'true' %} |
31 | <div class="document"> | 30 | <div class="document"> |
32 | {{ sidebar() }} | ||
33 | {%- block document %} | 31 | {%- block document %} |
34 | <div class="documentwrapper"> | 32 | <div class="documentwrapper"> |
35 | <div class="body" role="main"> | 33 | <div class="body" role="main"> |
36 | {% block body %} | 34 | {% block body %} |
37 | {% endblock %} | 35 | {% endblock %} |
38 | <div> | 36 | <div> |
39 | <br> | ||
40 | <div style="text-align: center; margin: 25px auto 15px;"> | 37 | <div style="text-align: center; margin: 25px auto 15px;"> |
41 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="140" 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="140" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h75v20H0z"/><path fill="#e05d44" d="M75 0h65v20H75z"/><path fill="url(#b)" d="M0 0h140v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"> <text x="385" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="650">Powered by</text><text x="385" y="140" transform="scale(.1)" textLength="650">Powered by</text><text x="1065" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="550">Cloudflare</text><text x="1065" y="140" transform="scale(.1)" textLength="550">Cloudflare</text></g> </svg> | 38 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="140" 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="140" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h75v20H0z"/><path fill="#e05d44" d="M75 0h65v20H75z"/><path fill="url(#b)" d="M0 0h140v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"> <text x="385" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="650">Powered by</text><text x="385" y="140" transform="scale(.1)" textLength="650">Powered by</text><text x="1065" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="550">Cloudflare</text><text x="1065" y="140" transform="scale(.1)" textLength="550">Cloudflare</text></g> </svg> |
42 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="112" 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="112" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h65v20H0z"/><path fill="#97ca00" d="M65 0h47v20H65z"/><path fill="url(#b)" d="M0 0h112v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"> <text x="335" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="550">Hosted on</text><text x="335" y="140" transform="scale(.1)" textLength="550">Hosted on</text><text x="875" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="370">GitHub</text><text x="875" y="140" transform="scale(.1)" textLength="370">GitHub</text></g> </svg> | 39 | <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="112" 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="112" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h65v20H0z"/><path fill="#97ca00" d="M65 0h47v20H65z"/><path fill="url(#b)" d="M0 0h112v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"> <text x="335" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="550">Hosted on</text><text x="335" y="140" transform="scale(.1)" textLength="550">Hosted on</text><text x="875" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="370">GitHub</text><text x="875" y="140" transform="scale(.1)" textLength="370">GitHub</text></g> </svg> |
@@ -50,7 +47,6 @@ | |||
50 | <div class="clearer"></div> | 47 | <div class="clearer"></div> |
51 | </div> | 48 | </div> |
52 | {%- else %} | 49 | {%- else %} |
53 | {{ super() }} | ||
54 | {%- endif %} | 50 | {%- endif %} |
55 | {%- endblock %} | 51 | {%- endblock %} |
56 | 52 | ||