From ae39ee1c2d48899e75acdecff7442b4ef8a4c49c Mon Sep 17 00:00:00 2001 From: Mantas VilĨinskas Date: Sun, 6 Oct 2019 10:28:21 +0300 Subject: Mostly finished API #27 for index, issue, page; remove autorefresh #80 --- layouts/_default/single.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 layouts/_default/single.json (limited to 'layouts/_default') diff --git a/layouts/_default/single.json b/layouts/_default/single.json new file mode 100644 index 0000000..634e2bc --- /dev/null +++ b/layouts/_default/single.json @@ -0,0 +1,8 @@ +{ + "is": "page", + "title": "{{ .Title }}", + "createdAt": "{{ .Date }}", + "filename": "{{ .File.LogicalName }}", + "permalink": "{{ .Permalink }}", + "body": {{ jsonify .Content }} +} \ No newline at end of file -- cgit v1.2.3-70-g09d2