File tree 5 files changed +10
-6
lines changed
5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ aside .book-nav ul {
73
73
width : $menu-width ;
74
74
padding : $padding-16 ;
75
75
background : white ;
76
- margin-top : 100px ;
76
+ // margin-top: 100px;
77
77
78
78
@include fixed ;
79
79
}
@@ -258,8 +258,10 @@ body[dir="rtl"] .book-menu {
258
258
}
259
259
260
260
img .book-icon {
261
- height : 1.5em ;
262
- width : 1.5em ;
261
+ height : 3em ;
262
+ width : 3em ;
263
+ margin-left : 330px ;
264
+ margin-top : 10px ;
263
265
}
264
266
}
265
267
@@ -306,6 +308,7 @@ $endLevel: 6;
306
308
// Future
307
309
.book-menu .book-nav {
308
310
scrollbar-color : transparent var (--gray-500 );
311
+ margin-top : 50px ;
309
312
}
310
313
311
314
.book-toc .book-nav ul {
Original file line number Diff line number Diff line change 1
1
{{- $.Scratch.Add "index" slice - }}
2
2
{{- range site.RegularPages - }}
3
3
{{- if and (not .Params.searchHidden) (ne .Layout `archives`) (ne .Layout `search`) }}
4
- {{- $.Scratch.Add "index" (dict "title" .Title "content" .Plain "permalink" .Permalink "summary" .Summary "date" (.Date.Format "2006/01/ 02") "image" ((print .Site.BaseURL .Params.image) | absURL)) - }}
4
+ {{- $.Scratch.Add "index" (dict "title" .Title "content" .Plain "permalink" .Permalink "summary" .Summary "date" (.Date.Format "2006-01- 02") "image" ((print .Site.BaseURL .Params.image) | absURL)) - }}
5
5
{{- end }}
6
6
{{- end - }}
7
7
{{- $.Scratch.Get "index" | jsonify - }}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ <h2 class="tags__title">{{ .Title }}</h2>
27
27
< div class ="resultItem__media " style ="background-image: url({{ (print .Site.BaseURL .Params.image) | absURL }}); "> </ div >
28
28
< div class ="resultItem__body ">
29
29
< h3 class ="resultItem__title "> < a href ="{{ .Permalink }} "> {{ .Title }}</ a > </ h3 >
30
- < div class ="resultItem__footer "> {{ .Date.Format "2006/01/ 02" }}</ div >
30
+ < div class ="resultItem__footer "> {{ .Date.Format "2006-01- 02" }}</ div >
31
31
</ div >
32
32
</ div >
33
33
{{ end }}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ <h3 class="article__title">{{ .Title }}</h3>
12
12
</ div >
13
13
</ a >
14
14
< footer class ="article__footer ">
15
- < time datetime ="{{ .Date }} "> {{ .Date.Format "2006/01/ 02" }}</ time >
15
+ < time datetime ="{{ .Date }} "> {{ .Date.Format "2006-01- 02" }}</ time >
16
16
</ footer >
17
17
</ article >
18
18
{{ end }}
Original file line number Diff line number Diff line change 11
11
12
12
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/monokai.min.css ">
13
13
< script src ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js "> </ script >
14
+ < script src ="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/languages/go.min.js "> </ script >
14
15
< script > hljs . initHighlightingOnLoad ( ) ; </ script >
15
16
16
17
{{ $sass := resources.Get "scss/style.scss" }}
You can’t perform that action at this time.
0 commit comments