Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Hugo theme for documentation and note-taking with a clean, responsive, customizable layout.
Khata is a clean and responsive Hugo theme built for documentation and note-taking, designed to keep content readable and easy to navigate on a static site.
Khata is a Hugo theme for documentation websites, turning content files into a responsive static HTML site. It takes a folder-based content structure from a Hugo project and outputs a clean, navigable documentation site. The theme is maintained by Darshan Baral and published on GitHub at darshanbaral/khata, with a live demo hosted on GitHub Pages.
npx -y pagefind --site public before deployment.config.toml and content folder you can copy to bootstrap a new site.git submodule add https://github.com/darshanbaral/khata themes/khata.Install the theme as a Git submodule, then either copy the exampleSite configuration or set theme = "khata" in your existing config.toml. Create content folders, add Markdown pages, build with hugo, and run npx -y pagefind --site public to index search before deploying. The theme's GitHub workflow shows how to deploy the indexed site.
Add it as a Git submodule with git submodule add https://github.com/darshanbaral/khata themes/khata. For a new site, copy the config.toml and content folder from the exampleSite; for an existing site, set theme = "khata" in your config.
Search is powered by Pagefind. After building your site with Hugo, run npx -y pagefind --site public before deployment. This indexes the generated static files so the search feature works.
The archive, recent, search, and taxa folders are part of the theme's structure and handle specific functionality. The docs say they should only be modified if you are familiar with the theme's structure, so most users can ignore them.
The theme is hosted publicly on GitHub under the repository darshanbaral/khata, which indicates it's a free open-source Hugo theme. The page does not list any pricing or license details.
The theme has a live demo at https://darshanbaral.github.io/khata/ where you can explore its layout and navigation before installing.
