blob: 553a9abd1d71adeb62501021546b1caeedd8f4fe (
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
|
# Paperback
_Paperback_ is a minimalist theme for [Hugo](http://gohugo.io).
It focuses on improving reading experience with high contrast colors and no fancy effect.
It also uses [Highlight.js](https://highlightjs.org/) for the syntaxic coloration of code snippets.
Demo is available [here](https://damiencaselli.github.io/paperback-demo/).
## Installation
Please refer to the [Hugo documentation](http://gohugo.io/themes/installing/).
## Configuration
A few parameters can be adjusted in the site config:
```toml
# googleAnalytics = "UA-123-45"
[params]
# your name to display by the copyright sign
# default: undefined
AuthorName = "Firstname Lastname"
# tagline to show beneath homepage h1
# default: undefined
Tagline = "Hello, world!"
# number of posts to show on index
# default: 10
HomepagePosts = 3
# default: undefined
GithubUsername = "damiencaselli"
# default: undefined
TwitterUsername = "damiencaselli"
# default: undefined
LinkedInUsername = "damiencaselli"
```
### Code highlighting
Both highlight theme and lib can be overridden. Just drop your build in the `static/js` directory, and the theme file in the `static/css` directory.
Note that the theme has to be named `highlight.css`.
|