Downloaded theme
This commit is contained in:
17
themes/minimal-black/layouts/index.json
Normal file
17
themes/minimal-black/layouts/index.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{{- $pages := slice -}}
|
||||
|
||||
{{- range .Site.RegularPages -}}
|
||||
{{- $summary := .Summary -}}
|
||||
{{- if not $summary -}}
|
||||
{{- $summary = .Description -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- $pages = $pages | append (dict
|
||||
"title" .Title
|
||||
"permalink" .Permalink
|
||||
"section" .Section
|
||||
"summary" (plainify $summary)
|
||||
) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- dict "pages" $pages | jsonify -}}
|
||||
Reference in New Issue
Block a user