From 072ddc8cf9491f286f13fa5c7a877ca0fa8c1524 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 4 Feb 2018 12:12:22 +0000 Subject: [PATCH] Remove old search templates --- layouts/_default/search.json | 8 -------- layouts/_default/search.txt | 8 -------- 2 files changed, 16 deletions(-) delete mode 100644 layouts/_default/search.json delete mode 100644 layouts/_default/search.txt diff --git a/layouts/_default/search.json b/layouts/_default/search.json deleted file mode 100644 index 0ed0c07..0000000 --- a/layouts/_default/search.json +++ /dev/null @@ -1,8 +0,0 @@ -{{ $valid_pages := where (where .Site.Pages.ByTitle "Kind" "page") ".Parent" "!=" nil }} - -{ - {{ range $i, $e := $valid_pages }} - {{ if $i }}, {{ end }} - {{ partial "page_data.json" . }} - {{ end }} -} diff --git a/layouts/_default/search.txt b/layouts/_default/search.txt deleted file mode 100644 index 3203a3c..0000000 --- a/layouts/_default/search.txt +++ /dev/null @@ -1,8 +0,0 @@ -# {{ .Title | plainify }} - -{{ .RawContent | safeHTML }} - -{{ $valid_pages := where (where .Site.Pages.ByTitle "Kind" "page") ".Parent" "!=" nil }} -{{ range $valid_pages }} - - ![{{ title .LinkTitle }}]({{ .Permalink }}) -{{ end }}