Skip to content

Commit 19b1241

Browse files
committed
update image
1 parent ced4355 commit 19b1241

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_default/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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" {{- if hasPrefix .Params.image "http"} (( print .Params.image )) {{- else -}}((print .Site.BaseURL .Params.image) | absURL)) {{ end -}} -}}
4+
{{- $.Scratch.Add "index" (dict "title" .Title "content" .Plain "permalink" .Permalink "summary" .Summary "date" (.Date.Format "2006-01-02") "image" {{- if hasPrefix .Params.image `http`} (( print .Params.image )) {{- else -}}((print .Site.BaseURL .Params.image) | absURL)) {{ end -}} -}}
55
{{- end }}
66
{{- end -}}
77
{{- $.Scratch.Get "index" | jsonify -}}

0 commit comments

Comments
 (0)