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 }}