Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Minimal Hugo blog theme built with Bootstrap 5, featuring LaTeX support, Disqus comments, and SEO-friendly templates.
TatBanTheme2.0 is a minimal Hugo theme for building an elegant website and a working blog, built from scratch on the responsive Bootstrap 5 framework.
TatBanTheme2.0 is a free and open-source Hugo theme created by Tatsat Banerjee. It takes a Hugo site's Markdown content as input and produces a fully responsive, blog-aware website with tags, categories, comments, and LaTeX rendering as output. The theme runs on Hugo's static site generator and is released under the GNU General Public License v3. Despite its name, the project is still a work in progress, with additional CSS and JavaScript elements planned for future releases.
disqusShortname in the site's config.toml activates comments on single-page posts.math parameter to true to enable KaTeX rendering; use double dollar signs for display math and single dollar signs for inline math.unsafe = true by default, allowing raw HTML inside Markdown files; you can remove this block to disable it site-wide.themes directory.footer.html or index.html to the site root and modifying them there, following Hugo's lookup order.math front-matter flag and using KaTeX's LaTeX rendering.singlepage layout from the theme's _default folder.Install Hugo, create a new site, and install the theme via clone, submodule, or ZIP. Then replace the default config.toml with the example from the theme's examplesite folder, update the baseURL, and copy the example content into your site's content folder. Finally, run hugo server -D in the site root to see the working website.
Yes, TatBanTheme2.0 is free and open-source software licensed under the GNU General Public License v3. You can use, modify, and redistribute it, but derivative works must also be GPL-licensed.
In the front matter of a Markdown file, set the math parameter to true. Then use double dollar signs ($$) around display equations and single dollar signs for inline math. KaTeX renders the output.
Copy footer.html from the theme's layouts/partials/ folder to your site's layouts/partials/ folder, then edit the links for Facebook, Twitter, LinkedIn, and Email in that file. Your site's copy takes precedence over the theme's file.
Add your CSS files to your site's static/css/ folder and update the header.html partial in your site's layouts/partials/ folder to link them. The custom stylesheets load after the main theme CSS (banerstyle.css).
Yes, Disqus is pre-configured and enabled. Set your Disqus disqusShortname in config.toml and use the single layout (front-matter layout field) so the comment thread appears at the bottom of the page.
