Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_index.md « search « 02-navigation-search « content-and-customization « content « exampleSite - github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0ac33e06794b43a525737ebec73336c1077c5754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
title: Search Engine
description: search engine
weight: 400
date: 2020-08-20T16:31:33.621Z
post: ""
---


Docport theme uses the last improvement available in hugo version 20+ to generate a json index file ready to be consumed by lunr.js javascript search engine.

hugo generate lunrjs index.json at the root of `public` folder if the site only has one language or within each language subfolder. 

{{%notice warning%}}When you build the site with `hugo server`, hugo generates it internally and of course it don't show up in the filesystem{{%/notice%}}


## Disable search
You can disable this functionality with `disableSearch` param in you site `config.toml`


``` toml
	[params]
	disableSearch = true
```