Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md - github.com/htdvisser/hugo-base16-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: da2e0b994ceba37e201027f0010fae785a05153a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# 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.