mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-08-18 00:45:39 +00:00
19 lines
634 B
JSON
19 lines
634 B
JSON
{{- $pages := where site.RegularPages "Type" "in" site.Params.mainSections -}}
|
|
{
|
|
"title": "{{ site.Title }}",
|
|
"description": "{{ site.Params.description }}",
|
|
"url": "{{ site.BaseURL }}",
|
|
"language": "{{ site.Language.Lang }}",
|
|
"pages": [
|
|
{{- range $index, $page := $pages -}}
|
|
{{- if $index }},{{ end }}
|
|
{
|
|
"title": "{{ $page.Title }}",
|
|
"url": "{{ $page.Permalink }}",
|
|
"description": "{{ with $page.Description }}{{ . }}{{ else }}{{ $page.Summary }}{{ end }}",
|
|
"date": "{{ $page.Date.Format "2006-01-02T15:04:05Z07:00" }}",
|
|
"section": "{{ $page.Section }}"
|
|
}
|
|
{{- end -}}
|
|
]
|
|
} |