summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramzrk22020-07-24 09:11:48 +0800
committeramzrk22020-07-24 09:11:48 +0800
commit3483f357ac417d7418461c01a5ab1cfc91816431 (patch)
tree805bafd995cce98c17edd368fad520a78e875f3a
parentfa1c6b5ae768ef619e9ced7419a60f66e5010007 (diff)
downloadhugo-theme-fuji-3483f357ac417d7418461c01a5ab1cfc91816431.tar.gz
hugo-theme-fuji-3483f357ac417d7418461c01a5ab1cfc91816431.tar.bz2
hugo-theme-fuji-3483f357ac417d7418461c01a5ab1cfc91816431.zip
Update exampleSite
-rw-r--r--exampleSite/config.toml9
1 files changed, 8 insertions, 1 deletions
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/"