aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2019-07-03 15:36:54 +0800
committerclarkzjw <[email protected]>2019-07-03 15:36:54 +0800
commit87d55dc1b5dd59730d3fb973292ba12babfcf9cf (patch)
treea376adb9e58855783df40a27d0d1e4048f4afb1b
parent04d3dde117414aecc7990c140b4569432455aa1c (diff)
downloadblog.jinwei.me-87d55dc1b5dd59730d3fb973292ba12babfcf9cf.tar.gz
+ update
-rw-r--r--_templates/layout.html11
-rw-r--r--_templates/more.html5
-rw-r--r--conf.py27
3 files changed, 2 insertions, 41 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 %}
diff --git a/conf.py b/conf.py
index 74e7505..9db6591 100644
--- a/conf.py
+++ b/conf.py
@@ -3,30 +3,7 @@
3import alagitpull 3import alagitpull
4 4
5alagitpull.projects = [ 5alagitpull.projects = [
6 { 6
7 'name': 'Dehaze',
8 'url': 'https://github.com/clarkzjw/Dehaze'
9 },
10 {
11 'name': 'GuidedFilter',
12 'url': 'https://github.com/clarkzjw/GuidedFilter',
13 },
14 {
15 'name': 'LumberJack',
16 'url': 'https://github.com/clarkzjw/LumberJack',
17 },
18 {
19 'name': 'one-two-three...infinity',
20 'url': 'https://github.com/clarkzjw/one-two-three...infinity'
21 },
22 {
23 'name': 'nginx-proxy-google',
24 'url': 'https://github.com/clarkzjw/nginx-proxy-google',
25 },
26 {
27 'name': 'brainfuck',
28 'url': 'https://github.com/clarkzjw/brainfuck'
29 }
30] 7]
31 8
32extensions = [ 9extensions = [
@@ -57,13 +34,11 @@ html_theme = 'alagitpull'
57html_favicon = '_static/favicon.ico' 34html_favicon = '_static/favicon.ico'
58html_theme_options = { 35html_theme_options = {
59 'logo': 'img/terminal-icon.png', 36 'logo': 'img/terminal-icon.png',
60 'projects': alagitpull.projects,
61} 37}
62html_sidebars = { 38html_sidebars = {
63 '**': [ 39 '**': [
64 'about.html', 40 'about.html',
65 'relations.html', 41 'relations.html',
66 'more.html',
67 ] 42 ]
68} 43}
69 44
Powered by cgit v1.2.3 (git 2.41.0)