diff --git a/exampleSite/config.toml b/exampleSite/config.toml index f3235019..e9baa7b2 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -37,15 +37,9 @@ defaultContentLanguageInSubdir = false enableGitInfo = false [outputs] - home = [ "HTML", "CSS", "RSS", "search" ] + home = [ "HTML", "CSS", "RSS", "JSON" ] section = [ "HTML", "RSS" ] -[outputFormats.search] - baseName = "search" - isPlainText = true - mediaType = "application/json" - notAlternative = true - # Configure BlackFriday Markdown rendering. # See: https://gohugo.io/getting-started/configuration/#configure-blackfriday [blackfriday] diff --git a/layouts/_default/list.search.json b/layouts/index.json similarity index 100% rename from layouts/_default/list.search.json rename to layouts/index.json diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 756daa47..c89dfb58 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -66,7 +66,7 @@ {{ if ne .Site.Params.search.engine 0 }} {{/* Configure search engine. */}}