aboutsummaryrefslogtreecommitdiff
path: root/layouts/issues/single.json
blob: 5795d09f7467a9e1288e45929cc4bd5258c74054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "is": "issue",
  "title": "{{ .Title }}",
  "body": {{ jsonify .Content }},
  "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 }}"
}