Clear is a minimalist monolingual Hugo theme.
(version 1.0.0)
- SEO optimized
- fast
- dark mode
- custom color
- code highlighting
- fast search
- blog pagination
- comments (see #comments)
- dart-sass support
-> Demo
First, add the theme to the main config
file of your site (example: config.toml):
theme = "clear"
Then, either include the theme as a git submodule (preferred way):
git submodule add https://github.com/Kepler-69c/clear-hugo-theme.git themes/clear
Or alternatively, you could clone the theme:
git clone https://github.com/apvarun/blist-hugo-theme.git themes/blist
There is a demo site where you can see the theme. The source for this website is in the exampleSite/
folder. If you want to preview the the theme locally, run the following commands:
- go to the
exampleSite/
folder - install all required NPM packages
npm install
- run Hugo
hugo serve --themesDir ../../
- visit
http://localhost:1313/
in your browser to view the example site.
Note that for the theme to work, you need to have Hugo and dart-sass installed on your computer.
The demo site in the exampleSite/
folder contains the extendedConfig.toml
file, which contains all the possible settings for the theme. Helpful comments are included.
Here you can find some of the most important settings:
- TODO
Comments | Implemented | Tested |
---|---|---|
Giscus | ✔︎ | ✔︎ |
Disqus | ✔︎ | ✔︎ |
Utterances | ✔︎ | ✔︎ |
If you have an issue, please feel free to post it to help those who come after you. The more information you can provide, the better!
Contributions, issues, and feature requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
(version 2.0.0)
- dark mode for comments, fix giscus dark mode
- multilingual mode
- table of contents
- codeblock copy button
- dynamic image resizing
- post list on homepage
- list -> timeline
- thumbnails in posts
- post list as grid