Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/htdvisser/hugo-base16-theme

[NOT MAINTAINED] Hugo theme with base16 eighties colorscheme
https://github.com/htdvisser/hugo-base16-theme

Last synced: 2 days ago
JSON representation

[NOT MAINTAINED] Hugo theme with base16 eighties colorscheme

Awesome Lists containing this project

README

        

# Base16 Theme for Hugo

![Hugo Base16 Theme screenshot](https://raw.githubusercontent.com/htdvisser/hugo-base16-theme/master/images/screenshot.png)

## Demos

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

```toml
[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](http://gohugo.io/themes/installing/) for more information.

## Extra Features

### Syntax highlighting

This theme has support for `highlight` shortcode (with Pygments),
see [the Hugo documentation](http://gohugo.io/extras/highlighting/) 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](http://gohugo.io/extras/shortcodes/) 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](https://github.com/htdvisser/hugo-base16-theme/blob/master/LICENSE).

## Don't forget to thank...

[Steve Francia](https://github.com/spf13) for Hugo.
[Chris Kempson](http://chriskempson.com) for the Base16 Eighties Colorscheme.
[Jan T. Sott](https://github.com/idleberg) for the Pygments template.