Fahrni / paperback

Theme for Hugo static website engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paperback

Paperback is a minimalist theme for Hugo.

It focuses on improving reading experience with high contrast colors and no fancy effect.

It also uses Highlight.js for the syntaxic coloration of code snippets.

Demo is available here.

Installation

Please refer to the Hugo documentation.

Configuration

A few parameters can be adjusted in the site config:

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

About

Theme for Hugo static website engine

License:MIT License


Languages

Language:HTML 56.6%Language:CSS 43.4%