Note
This theme is stable and in maintenance mode. It is intentionally minimal and considered feature-complete. I am not planning to add new features as I believe in keeping the core functionality lean and focused rather than adding potentially bloated features. If you need additional functionality, the theme is designed for easy extension through three approaches (from simple to complex):
- Custom partials: Use the provided
custom_head.html
,custom_body.html
, andcustom_footer.html
hooks - Layout overrides: Hugo's layout precedence allows you to override any theme template in your site's
layouts/
directory - Fork the theme: Create your own version with full customization freedom
A Hugo-theme based on Simple.css and Bear Blog.
- No-JavaScript, high performance ⚡
- Table of Contents 📌
- Dark mode 🌗
- SEO friendly 🔍
- Beautiful code highlighting 😻 (thanks catppuccin/catppuccin)
Simple.css supports showing notices, using the "notice" class. To add a notice to any of your pages, simply use the notice shortcode like this (Markdown is allowed):
{{< notice >}}
Note: Don't forget to star the [hugo-simple](https://github.com/maolonglong/hugo-simple) repository. ❤️
{{< /notice >}}
The theme provides partials for customising the <head>
, <body>
and <footer>
of every page. Just copy and paste the partials from the theme to your local layouts/_partials/
folder.
Source code and configuration can be found at exampleSite.
You can install the theme manually or use the quickstart template.
# Git Submodule (recommend)
git submodule add https://github.com/maolonglong/hugo-simple.git themes/hugo-simple
# Hugo Modules
hugo mod get github.com/maolonglong/hugo-simple