authelia/docs/layouts/_default/index.js

11 lines
239 B
JavaScript

var docs = [
{{ range $index, $page := (where .Site.Pages "Section" "configuration") -}}
{
id: {{ $index }},
title: "{{ .Title }}",
description: "{{ .Params.description }}",
href: "{{ .URL | relURL }}"
},
{{ end -}}
];