aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpacien2019-12-21 06:54:40 +0100
committerpacien2019-12-21 06:54:40 +0100
commit085bd8dc48d8d0e690cec829a21e672281b8b0f1 (patch)
tree30c74728f4ca5462b536673e9f470f8a248de5af
parent921416683b8c63f1cf149777d8914c8e55cd2b52 (diff)
downloadldgallery-085bd8dc48d8d0e690cec829a21e672281b8b0f1.tar.gz
replace unsupported comments in json files
-rw-r--r--design-notes.md6
-rw-r--r--example/index.json4
2 files changed, 5 insertions, 5 deletions
diff --git a/design-notes.md b/design-notes.md
index c39f98c..9bcbeb5 100644
--- a/design-notes.md
+++ b/design-notes.md
@@ -119,7 +119,7 @@ Serialised item structure:
119 119
120```json 120```json
121{ 121{
122 /* common fields */ 122 "_comment": "common fields",
123 123
124 "title": "Some title", 124 "title": "Some title",
125 "date": "2019-12-20T16:51:52+00:00", 125 "date": "2019-12-20T16:51:52+00:00",
@@ -135,7 +135,7 @@ Serialised item structure:
135 "thumbnail": { "path": "[resource path]" }, 135 "thumbnail": { "path": "[resource path]" },
136 136
137 137
138 /* type-dependent */ 138 "_comment": "type-dependent",
139 139
140 "properties": { 140 "properties": {
141 "type": "image", 141 "type": "image",
@@ -150,7 +150,7 @@ Serialised item structure:
150 150
151 "properties": { 151 "properties": {
152 "type": "directory", 152 "type": "directory",
153 "items": [ /* item objects */ ] 153 "items": [ { "_comment": "item objects..." } ]
154 } 154 }
155} 155}
156``` 156```
diff --git a/example/index.json b/example/index.json
index eef35c7..c7d75e6 100644
--- a/example/index.json
+++ b/example/index.json
@@ -1,6 +1,6 @@
1/* reference gallery index file, manually aggregated */
2
3{ 1{
2 "_comment": "reference gallery index file, manually aggregated",
3
4 "title": "", 4 "title": "",
5 "date": "", 5 "date": "",
6 "description": "", 6 "description": "",