aboutsummaryrefslogtreecommitdiff
path: root/layouts/issues/single.json
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2019-10-06 10:28:21 +0300
committerMantas Vilčinskas <hi@mnts.lt>2019-10-06 10:28:21 +0300
commitae39ee1c2d48899e75acdecff7442b4ef8a4c49c (patch)
tree226e2d06ee3eea5f50a0712844e1388aadb9d9c6 /layouts/issues/single.json
parent19d5be70f84c21011869b6c8340a0589f353beb8 (diff)
Mostly finished API #27 for index, issue, page; remove autorefresh #80
Diffstat (limited to 'layouts/issues/single.json')
-rw-r--r--layouts/issues/single.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/issues/single.json b/layouts/issues/single.json
index 897998a..36b0f67 100644
--- a/layouts/issues/single.json
+++ b/layouts/issues/single.json
@@ -1,12 +1,12 @@
-
{
- "section": "{{ .Section }}",
+ "is": "issue",
"title": "{{ .Title }}",
- "created_at": "{{ .Date }}",
+ "createdAt": "{{ .Date }}",
+ "permalink": "{{ .Permalink }}",
"severity": "{{ .Params.severity }}",
"resolved": "{{ .Params.resolved }}",
"informational": "{{ .Params.informational }}",
- "resolved_at": "{{ .Params.resolvedWhen }}",
+ "resolvedAt": "{{ .Params.resolvedWhen }}",
"affected": [{{ range $i, $e := .Params.Affected }}{{ if $i }}, {{ end }}"{{ . }}"{{ end }}],
"filename": "{{ .File.LogicalName }}",
"body": {{ jsonify .Content }}