diff options
author | amzrk2 | 2020-07-24 09:11:02 +0800 |
---|---|---|
committer | amzrk2 | 2020-07-24 09:11:02 +0800 |
commit | fa1c6b5ae768ef619e9ced7419a60f66e5010007 (patch) | |
tree | 79480be341245335eaf6474c2bc04029fe489966 /layouts/_default | |
parent | 0c502fd74ff7898624f87a402161527802d5b2bb (diff) | |
download | hugo-theme-fuji-fa1c6b5ae768ef619e9ced7419a60f66e5010007.tar.gz hugo-theme-fuji-fa1c6b5ae768ef619e9ced7419a60f66e5010007.tar.bz2 hugo-theme-fuji-fa1c6b5ae768ef619e9ced7419a60f66e5010007.zip |
Fix search index relative link issue
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/index.json | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/layouts/_default/index.json b/layouts/_default/index.json deleted file mode 100644 index e582dda..0000000 --- a/layouts/_default/index.json +++ /dev/null @@ -1,5 +0,0 @@ -{{- $.Scratch.Add "search" slice -}} -{{- range (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) -}} - {{- $.Scratch.Add "search" (dict "title" .Title "tags" .Params.tags "content" .Plain "permalink" .Permalink "date" (.Date.Format "2006-01-02")) -}} -{{- end -}} -{{- $.Scratch.Get "search" | jsonify -}}
\ No newline at end of file |