forked from website/openpower.foundation
add default outputformats
Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>master
parent
d44e493219
commit
714994abdd
@ -0,0 +1,5 @@
|
|||||||
|
{{- $.Scratch.Add "index" slice -}}
|
||||||
|
{{- range .Site.RegularPages -}}
|
||||||
|
{{- $.Scratch.Add "index" (dict "title" .Title "tags" .Params.tags "categories" .Params.categories "contents" .Plain "permalink" .Permalink) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $.Scratch.Get "index" | jsonify -}}
|
@ -0,0 +1,3 @@
|
|||||||
|
{{ range .Data.Pages }}
|
||||||
|
{{ .Title }}
|
||||||
|
{{ end }}
|
Loading…
Reference in New Issue