aboutsummaryrefslogtreecommitdiff
path: root/layouts/issues/single.json
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2021-02-24 16:29:44 +0200
committerMantas Vilčinskas <hi@mnts.lt>2021-02-24 16:29:44 +0200
commit548fcb9e38409902e12d117c745297e7637a7e67 (patch)
treee9a96ab63d9b41ac1c469587e5b6687909761911 /layouts/issues/single.json
parent96477340dd7d7127ce5a6190e78974ad7a895bea (diff)
API updates, lastmod, NCMS/default config changes, version to 0.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 36b0f67..fb78ee7 100644
--- a/layouts/issues/single.json
+++ b/layouts/issues/single.json
@@ -2,12 +2,12 @@
"is": "issue",
"title": "{{ .Title }}",
"createdAt": "{{ .Date }}",
+ "lastMod": "{{ .Lastmod }}",
"permalink": "{{ .Permalink }}",
"severity": "{{ .Params.severity }}",
- "resolved": "{{ .Params.resolved }}",
- "informational": "{{ .Params.informational }}",
+ "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 }}",
- "body": {{ jsonify .Content }}
+ "filename": "{{ .File.LogicalName }}"
} \ No newline at end of file