diff --git a/hugo.toml b/hugo.toml index 6a62e29..c2d2103 100644 --- a/hugo.toml +++ b/hugo.toml @@ -106,7 +106,30 @@ intLinkTooltip = true # Enable a tooltip for int # plausibleAPI = "/docs/s" # optional - (or set via env variable HUGO_PARAM_ANALYTICS_plausibleAPI) # plausibleDomain = "" # (or set via env variable HUGO_PARAM_ANALYTICS_plausibleDomain) - + [params.feedback] + enabled = true + emoticonTpl = true + eventDest = ["google"] + emoticonEventName = "Feedback" + positiveEventName = "Positive Feedback" + negativeEventName = "Negative Feedback" + positiveFormTitle = "What did you like?" + negativeFormTitle = "What went wrong?" + successMsg = "Thank you for helping to improve Lotus Docs' documentation!" + errorMsg = "Sorry! There was an error while attempting to submit your feedback!" + positiveForm = [ + ["Accurate", "Accurately describes the feature or option."], + ["Solved my problem", "Helped me resolve an issue."], + ["Easy to understand", "Easy to follow and comprehend."], + ["Something else"] + ] + negativeForm = [ + ["Inaccurate", "Doesn't accurately describe the feature or option."], + ["Couldn't find what I was looking for", "Missing important information."], + ["Hard to understand", "Too complicated or unclear."], + ["Code sample errors", "One or more code samples are incorrect."], + ["Something else"] + ] [[menu.primary]] name = "Home"