hugo-theme-nocolor/README.adoc

2.0 KiB

nocolor

nocolor is a Hugo theme with no predefined colors and minimal styling. It is based on Slick.

Features

  • Supports taxonomies of tags, categories and series with their own pages.

  • RSS Feed with complete entries.

  • Open Graph, Schema.org and Twitter Cards support.

  • Fully customizable menu entries.

  • No JavaScript, no bundled fonts, no external requests.

Installation

git submodule add https://schlomp.space/tastytea/hugo-theme-nocolor.git themes/nocolor
echo 'theme = "nocolor"' >> config.toml

Modification

Please take a look at the configuration example for Slick. It is valid for nocolor too.

You can add things to the end of the <head> section by overwriting the partial template extra-head.html or above the footer by overwriting extra_foot.html. The common way to do it is to create layouts/partials/extra_head.html or layouts/partials/extra_foot.html, respectively.

To add a TOC to your pages, add layouts/partials/toc.html as described in the Hugo documentation.

If you want source code highlighting, take a look at tomorrow-pygments.