/hugo-black-and-light-theme

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

Black & Light

A High contrast, text oriented, performant and Javascript-free theme for Hugo.

Features

  • Loads in a single request (with web-fonts disabled).
  • 100 / 100 on Google Page Speed test (100 / 100 on mobile with web-fonts disabled).
  • Scriptless (unless you configure Google Analytics).
  • Styles inlined in head.
  • High Contrast.
  • Supports dark color scheme via prefers-color-scheme.
  • High Resolution Favicons.

Screenshot

Installation

Inside the folder of your Hugo site run:

  git submodule add https://github.com/davidhampgonsalves/hugo-black-and-light-theme.git themes/black-and-light

For more information read the official setup guide of Hugo.

The config file

Copy the config.toml from this themes exampleSite to your Hugo site or use it as a reference.

License

This theme is released under the GPL 3.0 license. For more information read the license.