IntegrationsHugo
Add Chat and Search to Hugo Ananke
Integrate Inkeep's chat button and search bar into your Hugo Ananke theme for enhanced user experience.
Overview
In this integration example, we will be integrating Inkeep widget into Ananke theme, which is the default theme used as an example with Hugo.
What is Hugo
Hugo is a popular open-source static site generator often used for documentation.
Get an API key
Follow these steps to create an API key for your web integration.
Create the baseof.html file
Create an baseof.html
file at the path layouts/_default
Copy the contents of the baseof.html
file:
Note
Depending on your Hugo theme, this step may differ. The goal is to be able to insert custom scripts into your sites
<head>
tag.Load the script files
In the baseof.html
file, locate the head tag and paste the scripts below at the end:
Create the addInkeep.js script
Create an addInkeep.js
file in your static/js
folder.
Now, configure the chat button component.
For a full list of customizations, check out the Chat Button documentation.