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

index.js « js « assets - github.com/h-enk/doks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 82dfda8631a29e915548beffdf00bd7b83dc59f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
var docs = [
{{ range $index, $page := (where .Site.Pages "Section" "docs") -}}
  {
    id: {{ $index }},
    href: "{{ .Permalink | absURL }}",
    title: {{ .Title | jsonify }},
    description: {{ .Params.description | jsonify }},
    content: {{ .Content | jsonify }}
  },
{{ end -}}
];