Skip to content
Liquorice is a small black and white theme for Hugo.
Branch: master
Clone or download
Latest commit 25c262d Sep 30, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archetypes Initial version of liquorice theme Aug 17, 2014
images Add screenshot and thumbnail Mar 1, 2015
layouts Merge pull request #11 from apie/now Apr 29, 2017
static Minify CSS Sep 29, 2017
.gitignore Minify CSS Aug 18, 2014
LICENSE Initial commit Aug 17, 2014
README.md Update minimum required Hugo version Apr 29, 2017
theme.toml Update minimum required Hugo version Apr 29, 2017

README.md

liquorice

Liquorice is a small black and white theme for Hugo (a fast and modern static website engine).

Dependencies

Liquorice needs at least version 0.20 of Hugo.

Partials

There are a few partials that is of great interest to override

author

The author partial is added at the end of each single page (such as blog posts) and by default only prints the name of the author registered in the site params, e.g. in your config.toml

[params]
    author = "Markus"

In order to override and have your own markup appended to single pages, just create the file layouts/partials/author.html and roll your own.

Shortcodes

Liquorice comes with these additional shortcodes:

gist

Include a Github gist using their JavaScript include.

{{% gist e572b28c9a0eef0b2763 %}}

Where the first parameter is the gist id.

Building

There is not much to build, but the theme CSS is minified using the node tool clean-css.

cleancss -o static/css/liquorice.min.css static/css/liquorice.css

Any change in styles needs to result in a minification!

License

Liquorice is released under the MIT license, see LICENSE for details.

You can’t perform that action at this time.