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

README.md - github.com/damiencaselli/paperback.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2050564442c5731bec85ba0e577f3e97d08d95e5 (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://dashdashzako.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 = "dashdashzako"

# default: undefined
TwitterUsername = "dashdashzako"

# default: undefined
LinkedInUsername = "dashdashzako"
```

### 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`.