35 lines
815 B
Markdown
35 lines
815 B
Markdown
Adaption of the Jekyll version of [contrast](https://github.com/niklasbuschmann/contrast).
|
|
|
|
## Installation
|
|
|
|
To install Contrast as your default theme, first install this repository in the `themes/` directory:
|
|
|
|
$ cd themes/
|
|
$ git clone https://github.com/niklasbuschmann/contrast-hugo.git
|
|
|
|
Second, specify `contrast-hugo` as your default theme in the `config.toml` file. Just add the line
|
|
|
|
theme = "contrast-hugo"
|
|
|
|
at the top of the file.
|
|
|
|
## Options
|
|
|
|
To use the bright header, you can set `brightheader = true` in the `params` section of your config.
|
|
|
|
## Features
|
|
|
|
- supports dark mode on macOS Mojave
|
|
- MathJax support
|
|
- no external resources
|
|
- responsive
|
|
|
|
## Based on
|
|
|
|
- [Minima](https://github.com/jekyll/minima)
|
|
- [KaTeX](https://katex.org/)
|
|
|
|
## License
|
|
|
|
[public domain](http://unlicense.org/)
|