diff options
Diffstat (limited to 'docs/layouts/_default/index.js')
| -rw-r--r-- | docs/layouts/_default/index.js | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/layouts/_default/index.js b/docs/layouts/_default/index.js new file mode 100644 index 000000000..2408016ec --- /dev/null +++ b/docs/layouts/_default/index.js @@ -0,0 +1,10 @@ +var docs = [ +{{ range $index, $page := (where .Site.Pages "Section" "configuration") -}} +  { +    id: {{ $index }}, +    title: "{{ .Title }}", +    description: "{{ .Params.description }}", +    href: "{{ .URL | relURL }}" +  }, +{{ end -}} +];  | 
