A consistent and responsive Hugo theme with clean typography. The primary typefaces are Open Sans, Raleway, and Ubuntu Mono.
It is a fork of of Nishanth Shanmugham's great Cocoa theme. However, it isn't compatible, since it assumes a different folder structure.
* Responsive
* Suited for blogging and personal webpages
* Disqus support
* Built-in 404 page
* Syntax highlighting (by @andy4thehuynh)
* Gravatar/static profile image (by @remeh)
* RSS feed and icon (by @mvrilo)
* Optimized SVG icons (by @robinst)
* Cache busting
* Google Analytics
Most features are optional and can be individually enabled/disabled in your config.toml
.
From the root of your Hugo site, clone the theme into themes/hot-chocolate
by running:
# Clone theme into the themes/cocoa directory
$ git clone https://github.com/andrewjesaitis/hot-chocolate.git themes/hot-chocolate
# Generate site files into the public directory
$ hugo -t hot-chocolate
# Or, serve your site and visit localhost:1313 in your browser
$ hugo -t hot-chocolate --watch serve
Please see the sample config.toml
. Note that if you already use cocoa but have updated to Hugo 0.18, you must lowercase every params of your existing config.toml
(like in the sample).
Posts should generally go under a content/post
directory. Typically you would run:
hugo new post/your-new-post.md
For posts to appear on your site, you may need draft = false
in the post's front matter or use the --buildDrafts
option when building.
Fixed pages such as an About page should preferably go under content/pages
or be present at the root of the content
directory.
hugo new pages/about.md
Licensed under the MIT License. See the LICENSE file for more details.