summaryrefslogtreecommitdiffstats
path: root/hugo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/hugo.toml b/hugo.toml
index 0b7963b..0a7a233 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -4,6 +4,20 @@ title = "danix.xyz"
theme = "danix-xyz-hacker"
enableRobotsTXT = true
+# Output format definitions
+[outputFormats]
+ [outputFormats.JSON]
+ name = "JSON"
+ mediaType = "application/json"
+ baseName = "search-index"
+ isPlainText = true
+
+# Output formats
+[outputs]
+ home = ["HTML", "JSON"]
+ section = ["HTML"]
+ page = ["HTML"]
+
# Hugo Pipes
[minify]
minifyOutput = false