aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
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/_default
parent19d5be70f84c21011869b6c8340a0589f353beb8 (diff)
Mostly finished API #27 for index, issue, page; remove autorefresh #80
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/single.json8
1 files changed, 8 insertions, 0 deletions
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