An experimental Hugo theme.
The Onion theme is an experimental theme designed for the Hugo static site generator. It is currently under construction and may experience major breaking changes between versions. The theme follows several design principles, including being plug-and-play, using progressive enhancement with vanilla JavaScript libraries, providing graceful degradation for older browsers, and being multilingual and mobile-first. It also respects the user’s system preferences for light/dark themes and reduced motion. Privacy is also a key consideration, with no cookies required. The theme offers extensive display options for posts, detailed metadata display, and various additional features such as sidenotes, a “gadget” column, customizable CSS and JavaScript, and social media integration.
To install the Onion theme, follow these steps:
themes if it doesn’t already exist.themes directory.config.yaml file.theme: onion.The Onion theme for the Hugo static site generator is an experimental theme that offers extensive features and customization options. It follows various design principles, with a focus on plug-and-play functionality, progressive enhancement, and privacy by design. The theme is still under development and may undergo major changes between versions. Overall, it provides a modern and versatile design for static sites.