|
@@ -22,9 +22,15 @@ defaultContentLanguageInSubdir = false
|
|
|
enableGitInfo = true
|
|
|
|
|
|
[outputs]
|
|
|
- home = [ "HTML", "CSS", "RSS" ]
|
|
|
+ home = [ "HTML", "CSS", "RSS", "search" ]
|
|
|
section = [ "HTML", "RSS" ]
|
|
|
|
|
|
+[outputFormats.search]
|
|
|
+ baseName = "search"
|
|
|
+ isPlainText = true
|
|
|
+ mediaType = "application/json"
|
|
|
+ notAlternative = true
|
|
|
+
|
|
|
# Configure BlackFriday Markdown rendering.
|
|
|
# See: https://gohugo.io/readfiles/bfconfig/
|
|
|
[blackfriday]
|
|
@@ -259,6 +265,14 @@ enableGitInfo = true
|
|
|
url = "#contact"
|
|
|
weight = 6
|
|
|
|
|
|
+[[menu.main]]
|
|
|
+ name = "Search"
|
|
|
+ url = "#search"
|
|
|
+ weight = 10
|
|
|
+
|
|
|
+ [params.search]
|
|
|
+ engine = 1
|
|
|
+
|
|
|
# Taxonomies.
|
|
|
[taxonomies]
|
|
|
tag = "tags"
|