blob: 2dd84f7cc9d8102a2b26d08dbbf3e1b71ae5d5d0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
var docs = [
{{ range $index, $page := (where .Site.Pages "Section" "docs") -}}
{
id: {{ $index }},
title: "{{ .Title }}",
description: "{{ .Params.description }}",
href: "{{ .URL | absURL }}"
},
{{ end -}}
];
|