Skip to content

davidhampgonsalves/hugo-black-and-light-theme

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages