Giter Club home page Giter Club logo

paperback's Introduction

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.

paperback's People

Contributors

bep avatar dashdashzako avatar donvince avatar meersau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

paperback's Issues

found no layout file for "HTML" for "taxonomy"/"page"/"taxonomyTerm"

Hello,

I am trying to use your theme but I got the following errors:

hugo server
Building sites … WARN 2020/01/11 17:17:46 found no layout file for "HTML" for "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/01/11 17:17:46 found no layout file for "HTML" for "taxonomyTerm": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/01/11 17:17:46 found no layout file for "HTML" for "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/01/11 17:17:46 found no layout file for "HTML" for "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/01/11 17:17:46 found no layout file for "HTML" for "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/01/11 17:17:46 found no layout file for "HTML" for "taxonomyTerm": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

What I did:

hugo new site hugotest
cd hugotest/content
cp ~/using_org_mode_in_hugo -av .
cd ../themes
git clone https://github.com/dashdashzako/paperback.git
hugo server

I am using:

hugo version
Jan 2020 08:52:08 PM -03
Hugo Static Site Generator v0.62.2/extended linux/amd64 BuildDate: unknown

I know almost nothing of Hugo, in fact I just installed it. Any idea on how to solve this?

Thanks!

Justify text

I personally think it would look a lot nicer if all the text was justified. With text-align: justify on <p> or maybe the whole body.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.