Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dashdashzako/paperback
Theme for Hugo static website engine
https://github.com/dashdashzako/paperback
hugo hugo-theme
Last synced: 2 months ago
JSON representation
Theme for Hugo static website engine
- Host: GitHub
- URL: https://github.com/dashdashzako/paperback
- Owner: dashdashzako
- License: mit
- Created: 2016-08-09T13:58:20.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2021-04-02T08:52:09.000Z (almost 4 years ago)
- Last Synced: 2024-11-01T13:35:28.294Z (3 months ago)
- Topics: hugo, hugo-theme
- Language: HTML
- Homepage: https://dashdashzako.github.io/paperback-demo/
- Size: 454 KB
- Stars: 43
- Watchers: 1
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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`.