File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{{- $.Scratch.Add "index" slice - }}
22{{- range site.RegularPages - }}
33 {{- 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)) - }}
55 {{- end }}
66{{- end - }}
77{{- $.Scratch.Get "index" | jsonify - }}
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ <h2 class="tags__title">{{ .Title }}</h2>
2727 < div class ="resultItem__media " style ="background-image: url({{ (print .Site.BaseURL .Params.image) | absURL }}); "> </ div >
2828 < div class ="resultItem__body ">
2929 < 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 >
3131 </ div >
3232 </ div >
3333 {{ end }}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ <h3 class="article__title">{{ .Title }}</h3>
1212 </ div >
1313 </ a >
1414 < footer class ="article__footer ">
15- < time datetime ="{{ .Date }} "> {{ .Date.Format "2006/01/ 02" }}</ time >
15+ < time datetime ="{{ .Date }} "> {{ .Date.Format "2006-01- 02" }}</ time >
1616 </ footer >
1717</ article >
1818{{ end }}
Original file line number Diff line number Diff line change 1111
1212< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/monokai.min.css ">
1313< 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 >
1415< script > hljs . initHighlightingOnLoad ( ) ; </ script >
1516
1617{{ $sass := resources.Get "scss/style.scss" }}
You can’t perform that action at this time.
0 commit comments