Hugo Themes
Paperback
Minimalist theme for Hugo.
- Author: dashdashzako
- Minimum Hugo Version: 0.57.0
- GitHub Stars: 39
- Updated: 2021-04-02
- License: MIT
- Tags: Blog Minimal
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 = "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
.