• This repository has been archived on 18/Apr/2022
  • Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    CSS
  • License
    MIT License
  • Created almost 9 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[NOT MAINTAINED] Hugo theme with base16 eighties colorscheme

Base16 Theme for Hugo

Hugo Base16 Theme screenshot

Demos

See the demo sites themes.gohugo.io/theme/base16 and htdvisser.github.io/hugo-base16-theme show this theme in action. Both demo sites are built from gohugoio/hugoBasicExample, but the second site is built with some additional config to make it render HTML tags from Markdown files.

[markup.goldmark.renderer]
unsafe= true

Installation

$ mkdir themes
$ cd themes
$ git clone https://github.com/htdvisser/hugo-base16-theme.git base16

See the Hugo documentation for more information.

Extra Features

Syntax highlighting

This theme has support for highlight shortcode (with Pygments), see the Hugo documentation for more information.

To use this feature install Pygments (pip install Pygments) and add pygmentsuseclasses = true to your config.toml.

Figure shortcode

Use the figure shortcode if you want nice rendering of pictures, see the Hugo documentation for more information.

Customization

You probably want to edit the homepage. Get started by copying the supplied homepage to your own site.

$ mkdir -p layouts/partials
$ cp themes/base16/layouts/partials/hero.html layouts/partials/hero.html

After this, you can edit layouts/partials/hero.html and make it awesome.

License

MIT Licensed, see LICENSE.

Don't forget to thank...

Steve Francia for Hugo.
Chris Kempson for the Base16 Eighties Colorscheme.
Jan T. Sott for the Pygments template.