From cda530b9ba92b1333e81217d04ee492654cfe79d Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Sun, 31 Jan 2021 04:24:06 +0000
Subject: [PATCH] edit template
---
layouts/_default/index.json | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/_default/index.json b/layouts/_default/index.json
index 6905ec3..5642b61 100644
--- a/layouts/_default/index.json
+++ b/layouts/_default/index.json
@@ -4,4 +4,4 @@
{{- $.Scratch.Add "index" (dict "title" .Title "body" .Plain "link" .Permalink) -}}
{{- end -}}
{{- end -}}
-{{- jsonify ($.Scratch.Get "index") -}}
\ No newline at end of file
+{{- jsonify (uniq ($.Scratch.Get "index")) -}}
\ No newline at end of file
--
Gitblit v1.10.0