Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Liquorice is a small black and white theme for Hugo that adds author credits and gist embeds to minimal static sites.
Liquorice is a small black-and-white Hugo theme for creating minimal static websites and blogs, released under the MIT license.
Liquorice is a theme for the Hugo static site generator that produces black-and-white, text-focused web pages from Markdown content. It takes a Hugo project with content files and site configuration as its input and outputs a static HTML site. The theme requires Hugo version 0.20 or newer and consists of templates, partials, shortcodes, and a minified CSS file. The theme is open source under the MIT license.
author parameter defined in config.toml.layouts/partials/author.html file and the theme will use it instead.{{% gist e572b28c9a0eef0b2763 %}} in a content file, where the first parameter is the gist ID; the theme loads it via GitHub's JavaScript include.static/css/liquorice.min.css, regenerated from static/css/liquorice.css using the clean-css command-line tool.author parameter in your site config and every blog post automatically displays that name at the bottom via the built-in author partial.Install Hugo 0.20 or newer, add the theme to your site, and write content as usual. The theme automatically applies its black-and-white layout, renders the author partial on single pages, and processes any gist shortcodes. If you edit the stylesheet, run cleancss -o static/css/liquorice.min.css static/css/liquorice.css to regenerate the minified CSS.
Liquorice needs at least version 0.20 of Hugo. Older versions of Hugo will not render the theme correctly.
Yes, Liquorice is released under the MIT license, meaning it is free to use, modify, and distribute, including in commercial projects.
Set the author parameter in your site's config.toml under [params]. By default the theme prints this value at the end of each single page.
Yes. Create a file named layouts/partials/author.html in your own project; the theme will use that partial instead of its default author markup, letting you add any HTML you want.
Liquorice ships with one custom shortcode: the gist shortcode, which embeds a GitHub gist by its ID using GitHub's JavaScript include.