Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « _default « layouts - github.com/h-enk/doks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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 -}}
];