aboutsummaryrefslogtreecommitdiff
path: root/layouts/issues/single.json
blob: fb78ee77762e97d2f27332c46870f6d3e4d4fdae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{
  "is": "issue",
  "title": "{{ .Title }}",
  "createdAt": "{{ .Date }}",
  "lastMod": "{{ .Lastmod }}",
  "permalink": "{{ .Permalink }}",
  "severity": "{{ .Params.severity }}",
  "resolved": {{ if .Params.resolved }}true{{ else }}false{{ end }},
  "informational": {{ if .Params.informational }}true{{ else }}false{{ end }},
  "resolvedAt": "{{ .Params.resolvedWhen }}",
  "affected": [{{ range $i, $e := .Params.Affected }}{{ if $i }}, {{ end }}"{{ . }}"{{ end }}],
  "filename": "{{ .File.LogicalName }}"
}