[MOVED to codeberg] Hugo theme with no predefined colors and minimal styling. https://codeberg.org/tastytea/hugo-theme-nocolor
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.
Go to file
2020-12-27 22:19:45 +01:00
archetypes Add toc options to AsciiDoc archetype. 2020-12-27 20:51:01 +01:00
layouts Add default TOC template. 2020-12-27 22:19:45 +01:00
static/assets Add default TOC template. 2020-12-27 22:19:45 +01:00
.editorconfig Add EditorConfig. 2019-11-20 23:52:38 +01:00
CODE_OF_CONDUCT.adoc Add COC and contributing guidelines. 2019-11-20 23:45:46 +01:00
CONTRIBUTING.adoc Add COC and contributing guidelines. 2019-11-20 23:45:46 +01:00
LICENSE Add LICENSE. 2019-11-20 22:40:09 +01:00
README.adoc Add default TOC template. 2020-12-27 22:19:45 +01:00
theme.toml Bumped min_version to 0.58. 2019-11-25 06:18:41 +01:00

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.

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

Good to know

Table of contents are only written when the word count exceeds 400 and the toc field in your contents front matter is set to true. See the Hugo documentation for details. You can overwrite the template by adding the file layouts/partials/toc.html to your blog.