This repository has been archived on 2024-09-02. You can view files and clone it, but cannot push or open issues or pull requests.
hugo-theme-nocolor/README.adoc
2019-11-20 23:22:09 +01:00

41 lines
1.0 KiB
Plaintext

= nocolor
:uri-tomorrow-pygments: https://github.com/mozmorris/tomorrow-pygments
:uri-slick: https://github.com/spookey/slick
:uri-slick-example: {uri-slick}/blob/master/_sites/example/config.toml
A Hugo theme with no predefined colors and minimal styling. If you want source
code highlighting, take a look at
link:{uri-tomorrow-pygments}[tomorrow-pygments].
The theme is based on link:{uri-slick}[Slick]. Their
link:{uri-slick-example}[configuration example] is valid for nocolor too.
== Installation
Just download the theme or clone it into your `themes/` directory:
[source,shell]
----
cd themes && git clone https://schlomp.space/tastytea/hugo-theme-nocolor.git
----
Then reference it in your `config`:
[source,toml]
----
theme = "nocolor"
----
Or when building the site, pass it in to the CLI:
[source,shell]
----
hugo -t nocolor
----
== Modification
You can add things to the end of the `<head>` section by overwriting the partial
template `extra-head.html`. The common way to do it is to create
`layouts/partials/extra_head.html`.