about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/blog_cli/main.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/blog_cli/main.go b/tools/blog_cli/main.go
index 9175b2b66f..76e4bde8ef 100644
--- a/tools/blog_cli/main.go
+++ b/tools/blog_cli/main.go
@@ -33,14 +33,14 @@ var (
 var chunkSize = 200
 
 type metadata struct {
-	Chunks int       `json:"chunks"`
-	Title  string    `json:"title"`
-	Date   time.Time `json:"date"`
+	Chunks int       `json:"c"`
+	Title  string    `json:"t"`
+	Date   time.Time `json:"d"`
 }
 
 type chunk struct {
-	Chunk int    `json:"c"`
-	Text  string `json:"t"`
+	Chunk int
+	Text  string
 }
 
 type post struct {