From 9083f3aba76b5ac2a73744d5524b9f6721936a9a Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 8 Jan 2025 15:35:07 -0700 Subject: [PATCH] update index.json --- layouts/notes/index.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/layouts/notes/index.json b/layouts/notes/index.json index 05c7b4e..351d0d3 100644 --- a/layouts/notes/index.json +++ b/layouts/notes/index.json @@ -10,12 +10,8 @@ "id": "{{ .Permalink }}", "url": "{{ .Permalink }}", "content_text": {{ .Plain | jsonify }}, - "date_published": "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}", - {{- if .Params.tags }} - "tags": {{ .Params.tags | jsonify }}, - {{- end }} - {{- if not (last .Pages.ByDate.Reverse .) }},{{ end }} - } + "date_published": "{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}" + }{{ if not (last .Pages.ByDate.Reverse .) }},{{ end }} {{- end }} ] }