An array of Google fonts and sizes to load. e.g. google_fonts = [["Inter", "300, 400, 600, 700"],["Fira Code", "500, 700"]] This will load the Google Inter and Fira Code fonts in the specified sizes.
Set the default HTML title for your documentation pages/sections e.g. Lotus Docs (This parameter is separate from the root Hugo title parameter that sets the title for your site overall e.g the landing page.)
pathName
string
docs
Pathname for the documentation site. A few additional changes to the Lotus Docs theme are required when this value is updated. See the Installation guide for more details.
themeColor
string
blue
Set the sites accent color. This affects links, buttons and icons. Available options/colors include, blue (default), green, red, yellow, emerald, cardinal, magenta, cyan.
See the the FlexSearch Guide for more information regarding the options below.
Parameter
Type
Default Value
Description
enabled
boolean
true
Enable FlexSearch?
Note: If [params.docsearch] is configured, FlexSearch is automatically disabled regardless of the value set here.
tokenize
string
forward
Set the behaviour for the search process. Options include: full, strict, forward, and reverse.
optimize
boolean
false
Enabled to uses a memory-optimized stack flow for the FlexSearch index?
cache
integer/boolean
100
Enable of set cache behaviour. FlexSearch will use the available cache to store popular searches.
minQueryChar
integer
0
Set the minimum number of entered characters required before any search results are rendered. 0 disables this requirement and results are shown as soon as any character is entered.
maxResult
integer
5
Set the maximum number of results presented for a search query.
See the the Feedback Widget Guide for detailed information about how to configure the widget for Plausible and Google Analytics.
Parameter
Type
Default Value
Description
enabled
boolean
false
Enable the Feedback Widget?
Note: Either Google or Plausible Analytics need to be configured for the Feedback Widget to function.
emoticonTpl
boolean
false
optional - Enable the emoticon Feedback Widget template?
eventDest
array
N/A
optional - An array to define which configured web analytics services to send feedback events to. Available options currently include, google and plausible.
Note: If not set, the feedback widget will send feedback events to all web analytics services configured in hugo.toml.
successMsg
string
Thank you for helping to improve our documentation!
optional - Set the message that’s displayed when feedback is successfully submitted.
errorMsg
string
Sorry! There was an error while attempting to submit your feedback!
optional - Set the message that’s displayed when there is an error in submitting feedback.
Parameters specific to the default feedback template.
Parameter
Type
Default Value
Description
positiveEventName
string
Positive Feedback
optional - Set the name for the positive feedback event.
negativeEventName
string
Negative Feedback
optional - Set the name for the negative feedback event.
positiveFormTitle
string
What did you like?
optional - Set the title for the positive feedback form.
negativeFormTitle
string
What went wrong?
optional - Set the title for the negative feedback form.
positiveForm
array
N/A
optional - A nested array of ratings and descriptions for the positive feedback form. e.g. [["Easy to understand","Easy to follow and comprehend."]], the first element in the nested array represents the rating, and the second, the description.
negativeForm
array
N/A
optional - A nested array of ratings and descriptions for the negative feedback form. e.g. [["Hard to understand","Too complicated or unclear."]], the first element in the nested array represents the rating, and the second, the description.