Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Table of Contents Page (toc-page) is a minimal, single-page theme for Hugo
Toc Page Hugo Theme is a minimal, single-page Hugo theme that renders a table-of-contents index page linking to sections, projects, or external resources. It is developed by Madhu Akula, distributed under the MIT license, and powers the Kubernetes Goat project's navigation page.
Toc Page Hugo Theme is a Hugo static-site theme whose core function is to display a single-page table of contents. It takes Hugo content files (written in Markdown) and outputs a static HTML page with a list of links, making no styling assumptions beyond a minimal design. The theme runs on Hugo, the Go-based static site generator, and is installed by cloning or submoduling the repository madhuakula/toc-page-hugo-theme into your site's themes directory. As of the repository metadata, it is a small project with 2 stars and topics including golang, hugo, hugo-theme, and jamstack.
git clone https://github.com/madhuakula/toc-page-hugo-theme.git themes/toc-page and a git submodule command for versioned updates.themes/toc-page/exampleSite/, so you can preview the theme with hugo serve --themesDir ../.. and visit http://localhost:1313/.config.toml file; copying the example config to your Hugo root and editing fields is the full setup.exampleSite/ folder contains sample content demonstrating how add entries to the TOC.git clone https://github.com/madhuakula/toc-page-hugo-theme.git themes/toc-page from your Hugo site root, or add it as a submodule.config.toml from the exampleSite/ folder to your site root and edit the site fields.exampleSite/.Run git clone https://github.com/madhuakula/toc-page-hugo-theme.git themes/toc-page from the root of your Hugo site. Alternatively, you can add the repository as a git submodule using git submodule add https://github.com/madhuakula/toc-page-hugo-theme.git themes/toc-page, which makes future updates easier.
Yes, the theme is licensed under the MIT license, so it is free to use, modify, and distribute. The repository includes a LICENSE file and the README shows an MIT license badge.
Yes, the theme ships with a fully configured example site in the themes/toc-page/exampleSite/ directory. You can preview it by running hugo serve --themesDir ../.. from that folder, then opening http://localhost:1313/ in your browser.
