From 3483f357ac417d7418461c01a5ab1cfc91816431 Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Fri, 24 Jul 2020 09:11:48 +0800 Subject: Update exampleSite --- exampleSite/config.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3d03c3b..e25942d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -16,8 +16,15 @@ paginate = 10 # googleAnalytics = "UA-000000000-0" # Set your Google Analytics UA here +[outputFormats] + [outputFormats.SearchIndex] + isPlainText = true + notAlternative = true + mediaType = "application/json" + path = "/search/" + [outputs] - home = ["html", "rss", "json"] + home = ["HTML", "RSS", "SearchIndex"] [permalinks] post = "/:section/:filename/" # Custom post links, e.g. "/:year/:month/:title/" -- cgit v1.2.3