Overview
Poison is a clean and professional Hugo theme designed to captivate readers. It is a lightweight and privacy-conscious theme with no external dependencies, unless you choose to include comments. The theme is built using vanilla JavaScript, CSS, and the power of Hugo. All static assets for the site are located within the theme’s /assets/
directory, ensuring transparency and control over what is on your site.
Features
- Light and Dark mode: Give readers the choice to read in light or dark mode, with the user’s preference stored in local storage.
- Table of Contents: Provide a floating table of contents for readers with large enough screens, which can be disabled site-wide or on an individual post basis.
- Comments: Enable discourse by allowing users to comment on your posts, supporting two different commenting engines: Disqus and Remark42.
Installation
To install the Poison theme:
- Copy the theme folder into the
themes/
directory of your Hugo site. - Configure your site’s
config.toml
file to use the theme.
theme = "poison"
Summary
Overall, Poison is a clean and professional Hugo theme that offers features like light and dark mode, table of contents, and comments. It is privacy-conscious and lightweight, with no external dependencies. The installation process is straightforward, making it easy to implement the theme on your Hugo site.