hugo-theme-nocolor/README.adoc

41 lines
1.0 KiB
Plaintext
Raw Normal View History

2019-11-20 19:56:22 +01:00
= nocolor
2019-11-20 23:22:09 +01:00
: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
2019-11-20 19:56:22 +01:00
2019-11-20 23:22:09 +01:00
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].
2019-11-20 19:56:22 +01:00
2019-11-20 23:22:09 +01:00
The theme is based on link:{uri-slick}[Slick]. Their
link:{uri-slick-example}[configuration example] is valid for nocolor too.
2019-11-20 19:56:22 +01:00
== 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
----
2019-11-20 23:22:09 +01:00
== 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`.