2019-11-20 19:56:22 +01:00
|
|
|
= nocolor
|
2019-11-20 23:45:46 +01:00
|
|
|
:project: hugo-theme-nocolor
|
|
|
|
:uri-base: https://schlomp.space/tastytea/{project}
|
2019-11-20 23:40:52 +01:00
|
|
|
:uri-hugo: https://gohugo.io/
|
2019-11-20 23:22:09 +01:00
|
|
|
:uri-slick: https://github.com/spookey/slick
|
|
|
|
:uri-slick-example: {uri-slick}/blob/master/_sites/example/config.toml
|
2019-11-20 23:40:52 +01:00
|
|
|
:uri-opengraph: http://ogp.me/
|
|
|
|
:uri-schema: https://schema.org/
|
|
|
|
:uri-twittercards: https://developer.twitter.com/en/docs/tweets/optimize-with-cards/overview/abouts-cards.html
|
|
|
|
:uri-tomorrow-pygments: https://github.com/mozmorris/tomorrow-pygments
|
2019-11-20 19:56:22 +01:00
|
|
|
|
2019-11-20 23:40:52 +01:00
|
|
|
*nocolor* is a link:{uri-hugo}[Hugo] theme with no predefined colors and minimal
|
|
|
|
styling. It is based on link:{uri-slick}[Slick].
|
|
|
|
|
|
|
|
== Features
|
2019-11-20 19:56:22 +01:00
|
|
|
|
2019-11-20 23:40:52 +01:00
|
|
|
* Supports taxonomies of tags, categories and series with their own pages.
|
|
|
|
* RSS Feed with complete entries.
|
|
|
|
* link:{uri-opengraph}[Open Graph], link:{uri-schema}[Schema.org] and
|
|
|
|
link:{uri-twittercards}[Twitter Cards] support.
|
|
|
|
* Fully customizable menu entries.
|
|
|
|
* No JavaScript, no bundled fonts, no external requests.
|
2019-11-20 19:56:22 +01:00
|
|
|
|
|
|
|
== Installation
|
|
|
|
|
|
|
|
Just download the theme or clone it into your `themes/` directory:
|
|
|
|
|
|
|
|
[source,shell]
|
|
|
|
----
|
2019-11-20 23:54:25 +01:00
|
|
|
cd themes && git clone https://schlomp.space/tastytea/hugo-theme-nocolor.git nocolor
|
2019-11-20 19:56:22 +01:00
|
|
|
----
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2019-11-20 23:40:52 +01:00
|
|
|
Please take a look at the link:{uri-slick-example}[configuration example for
|
|
|
|
Slick]. It is valid for nocolor too.
|
|
|
|
|
2019-11-20 23:22:09 +01:00
|
|
|
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`.
|
2019-11-20 23:40:52 +01:00
|
|
|
|
|
|
|
If you want source code highlighting, take a look at
|
|
|
|
link:{uri-tomorrow-pygments}[tomorrow-pygments].
|
2019-11-20 23:45:46 +01:00
|
|
|
|
|
|
|
include::{uri-base}/raw/branch/main/CONTRIBUTING.adoc[]
|