aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2018-01-18 16:58:33 +0800
committerclarkzjw <[email protected]>2018-01-18 16:58:33 +0800
commit7a20a765926e3dc309f780ae8ce38b3b08a76860 (patch)
tree42c1095f16c3f624c54e7f07d4803337be804ce8 /_templates
parent4ce94456c0cdac19d97ad9d8fe97a8b0239ec48e (diff)
downloadblog.jinwei.me-7a20a765926e3dc309f780ae8ce38b3b08a76860.tar.gz
+ fix footer
Diffstat (limited to '_templates')
-rw-r--r--_templates/layout.html19
1 files changed, 13 insertions, 6 deletions
diff --git a/_templates/layout.html b/_templates/layout.html
index 04d2577..8e2879e 100644
--- a/_templates/layout.html
+++ b/_templates/layout.html
@@ -3,6 +3,7 @@
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/flexboxgrid.min.css', '_static/git-pull.css', '_static/han.min.css']%}
6{% set scripts_files = css_files + ['_static/w.js']%}
6 7
7<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png"> 8<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"> 9<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
@@ -35,14 +36,22 @@
35 {%- if render_sidebar %} 36 {%- if render_sidebar %}
36 <div class="bodywrapper"> 37 <div class="bodywrapper">
37 {%- endif %} 38 {%- endif %}
39
38 <div class="body han-init-context" role="main"> 40 <div class="body han-init-context" role="main">
39 {% block body %} 41 {% block body %}
40 {% endblock %} 42 {% endblock %}
41 <div class="just-comments" 43 <div>
44 <div class="just-comments"
42 data-allowguests="true" 45 data-allowguests="true"
43 data-apikey="4bb18080-e236-4513-bd72-3a032f35d3bb"> 46 data-apikey="4bb18080-e236-4513-bd72-3a032f35d3bb">
47 </div>
48 <br>
49 <div style="width: 50%; margin: 0 auto;">
50 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="138" 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="138" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h73v20H0z"/><path fill="#e05d44" d="M73 0h65v20H73z"/><path fill="url(#b)" d="M0 0h138v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"><text x="375" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="630">Powered by</text><text x="375" y="140" transform="scale(.1)" textLength="630">Powered by</text><text x="1045" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="550">Cloudflare</text><text x="1045" y="140" transform="scale(.1)" textLength="550">Cloudflare</text></g> </svg>
51 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="116" 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="116" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h69v20H0z"/><path fill="#97CA00" d="M69 0h47v20H69z"/><path fill="url(#b)" d="M0 0h116v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"><text x="355" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="590">Hosted on </text><text x="355" y="140" transform="scale(.1)" textLength="590">Hosted on </text><text x="915" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="370">GitHub</text><text x="915" y="140" transform="scale(.1)" textLength="370">GitHub</text></g> </svg>
52 </div>
44 </div> 53 </div>
45 <script async defer src="https://just-comments.com/w.js"></script> 54 <script async defer src="../../_static/w.js"></script>
46 <script async defer src="https://buttons.github.io/buttons.js"></script> 55 <script async defer src="https://buttons.github.io/buttons.js"></script>
47 <script async defer src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> 56 <script async defer src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
48 </div> 57 </div>
@@ -58,7 +67,5 @@
58{%- endif %} 67{%- endif %}
59{%- endblock %} 68{%- endblock %}
60 69
61{%- block footer -%} 70{%- block footer %}
62<script async defer type="text/javascript" src="../../../_static/han.min.js"></script> 71{%- endblock %} \ No newline at end of file
63<script type="text/javascript">Han.init()</script>
64{%- endblock %}
Powered by cgit v1.2.3 (git 2.41.0)