File tree Expand file tree Collapse file tree 7 files changed +211
-236
lines changed Expand file tree Collapse file tree 7 files changed +211
-236
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1
1
---
2
2
layout: main
3
- extraCSS:
4
- - css/toolbar.css
5
- - css/sidebar.css
6
3
---
4
+ < main >
5
+ < div id ="post-title ">
6
+ < h3 id ="post-date ">
7
+ {{ page.date | date: '%B %d, %Y' }}
8
+ </ h3 >
9
+ < h1 id ="main-title "> {{ page.title }}</ h1 >
10
+ {% if page.subTitle %}
11
+ < h2 id ="sub-title "> {{ page.subTitle }}</ h2 >
12
+ {% endif %}
13
+ </ div >
7
14
8
- {% include "toolbar" %}
9
- {% include "sidebar" %}
10
-
11
- < div id ="content-wrapper ">
12
- < div id ="content-body " class ="doc-page-body ">
13
- < div id ="post-title ">
14
- < h3 id ="post-date ">
15
- {{ page.date | date: '%B %d, %Y' }}
16
- </ h3 >
17
- < h1 id ="main-title "> {{ page.title }}</ h1 >
18
- {% if page.subTitle %}
19
- < h2 id ="sub-title "> {{ page.subTitle }}</ h2 >
20
- {% endif %}
21
- </ div >
22
-
23
- < div id ="blog-post-container ">
24
- {{ content }}
25
- </ div >
15
+ < div id ="blog-post-container ">
16
+ {{ content }}
17
+ </ div >
26
18
27
- {% if page.author %}
28
- < div id ="post-footer ">
29
- {% if page.authorImg %}
30
- < img id ="author-image " src ="{{ site.baseurl }}/{{ page.authorImg }} ">
31
- {% endif %}
32
- < span id ="post-author ">
33
- {% if page.authorImg == null %}- {% endif %}{{ page.author }}
34
- </ span >
35
- </ div >
19
+ {% if page.author %}
20
+ < div id ="post-footer ">
21
+ {% if page.authorImg %}
22
+ < img id ="author-image " src ="{{ site.baseurl }}/{{ page.authorImg }} ">
36
23
{% endif %}
24
+ < span id ="post-author ">
25
+ {% if page.authorImg == null %}- {% endif %}{{ page.author }}
26
+ </ span >
27
+ </ div >
28
+ {% endif %}
37
29
38
- </ div > <!-- end content-body -->
39
- </ div > <!-- end content-wrapper -->
30
+ </ main >
Original file line number Diff line number Diff line change 1
1
---
2
2
layout: main
3
3
extraCSS:
4
- - css/sidebar.css
5
- - css/toolbar.css
6
4
- css/api-page.css
7
5
---
8
-
9
- {% include "toolbar" %}
10
- {% include "sidebar" %}
11
-
12
- < div id ="content-wrapper ">
13
- < div id ="content-body " class ="doc-page-body ">
14
- < h1 id ="doc-page-title "> {{ page.title }}</ h1 >
15
- < a id ="edit-on-github " href ="{{ site.projectUrl }}/edit/master/{{ site.root }}/{{ page.url }} ">
16
- Edit this page on GitHub
17
- </ a >
18
- < hr />
19
- < div id ="doc-page-container ">
20
- {{ content }}
21
- </ div >
22
- </ div > <!-- end content-body -->
23
- </ div > <!-- end content-wrapper -->
6
+ < main >
7
+ < h1 id ="doc-page-title "> {{ page.title }}</ h1 >
8
+ < a id ="edit-on-github " href ="{{ site.projectUrl }}/edit/master/{{ site.root }}/{{ page.url }} ">
9
+ Edit this page on GitHub
10
+ </ a >
11
+ < hr />
12
+ < div id ="doc-page-container ">
13
+ {{ content }}
14
+ </ div >
15
+ </ main >
Original file line number Diff line number Diff line change 25
25
href ="{{ site.baseurl }}/css/dottydoc.css "
26
26
>
27
27
28
+ < link
29
+ rel ="stylesheet "
30
+ href ="{{ site.baseurl }}/css/toolbar.css "
31
+ >
32
+
33
+ < link
34
+ rel ="stylesheet "
35
+ href ="{{ site.baseurl }}/css/sidebar.css "
36
+ >
37
+
28
38
< link
29
39
rel ="stylesheet "
30
40
href ="{{ site.baseurl }}/css/color-brewer.css "
40
50
< script src ="{{ site.baseurl }}/js/jquery.min.js "> </ script >
41
51
</ head >
42
52
< body >
43
-
44
- {{ content }}
53
+ {% include "toolbar" %}
54
+ {% include "sidebar" %}
55
+ < div id ="content-wrapper ">
56
+ {{ content }}
57
+ </ div >
45
58
46
59
< script src ="{{ site.baseurl }}/js/highlight.pack.js "> </ script >
47
60
< script src ="{{ site.baseurl }}/js/bootstrap.min.js "> </ script >
48
61
{% for js in page.extraJS %}
49
- < script src ="{{ site.baseurl }}/{{ js }} "> </ script >
62
+ < script src ="{{ site.baseurl }}/{{ js }} "> </ script >
50
63
{% endfor %}
51
64
< script src ="{{ site.baseurl }}/js/dottydoc.js "> </ script >
52
65
< script >
Original file line number Diff line number Diff line change 2
2
layout: main
3
3
title: Search
4
4
extraCSS:
5
- - css/toolbar.css
6
5
- css/search.css
7
6
---
8
-
9
- {% include "toolbar" %}
10
-
11
7
< div id ="back-container ">
12
8
< span >
13
9
< a id ="back-anchor " href =""> Back</ a >
Original file line number Diff line number Diff line change 126
126
.sidebar .toggled {
127
127
margin-left : -320px ;
128
128
}
129
- div # content-body {
129
+ # content-wrapper {
130
130
margin-left : 320px !important ;
131
131
transition : margin .25s ease-out;
132
132
}
133
- .sidebar .toggled ~ div div # content-body {
133
+ .sidebar .toggled ~ # content-wrapper {
134
134
margin-left : 0 !important ;
135
135
}
136
136
}
Original file line number Diff line number Diff line change 1
1
---
2
2
layout: main
3
- extraCSS:
4
- - css/toolbar.css
5
- - css/sidebar.css
6
3
title: Blog
7
4
---
8
-
9
- {% include "toolbar" %}
10
-
11
- < div id ="content-wrapper ">
12
- {% assign sidebarTop = "75px" %}
13
- {% include "sidebar" %}
14
-
5
+ < main >
15
6
< div id ="content-body " class ="doc-page-body ">
16
7
< div id ="post-title ">
17
8
< h1 id ="main-title "> {{ page.title }}</ h1 >
@@ -50,4 +41,4 @@ <h2 id="sub-title">{{ page.subTitle }}</h2>
50
41
{% endif %}
51
42
52
43
</ div > <!-- end content-body -->
53
- </ div > <!-- end content-wrapper -- >
44
+ </ main >
You can’t perform that action at this time.
0 commit comments