Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eliasson/liquorice
Liquorice is a small black and white theme for Hugo.
https://github.com/eliasson/liquorice
Last synced: 7 days ago
JSON representation
Liquorice is a small black and white theme for Hugo.
- Host: GitHub
- URL: https://github.com/eliasson/liquorice
- Owner: eliasson
- License: mit
- Created: 2014-08-17T22:54:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-06-22T11:54:12.000Z (over 4 years ago)
- Last Synced: 2024-08-02T17:35:38.697Z (3 months ago)
- Language: CSS
- Size: 189 KB
- Stars: 51
- Watchers: 7
- Forks: 17
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# liquorice
Liquorice is a small black and white theme for [Hugo](https://github.com/spf13/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](https://github.com/GoalSmashers/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.