Hikari theme
Hikari is a simple theme for bloggers, whose minimalism tries to focus readers on the content. It’s a port of Mathieu Mayer-Mazzoli’s orignal Hikari theme made for Jekyll. Noteworthy features are the integration of a comment-system powered by Disqus, optional statistics via Google Analytics, support for RSS and syntax highlighting for source code in blog posts.
Contents
Installation
Inside the folder of your Hugo site run:
$ mkdir themes
$ cd themes
$ git clone git@github.com:digitalcraftsman/hugo-hikari-theme.git
For more information read the official setup guide of Hugo.
Setup
The config file
Take a look inside the exampleSite
folder of this theme. You’ll find a file called config.toml
.
To use it, copy the config.toml
in the root folder of your Hugo site. Feel free to change strings as you like to customize your website.
Disqus
This theme features a comment system powered by Disqus too. Just add your Disqus-shortname to the config.toml
and let readers respond to your blog posts.
Google Analytics
In order to get statistics about your blog and it’s visitors, just enter your tracking code in the corresponding field in the configs. As with Disqus, the use of Google Analytics is completely optional.
Nearly finished
In order to see your site in action, run Hugo’s built-in local server.
$ hugo server -w
Now enter localhost:1313
in the address bar of your browser.
Contributing
Did you found a bug or got an idea for a new feature? Feel free to use the issue tracker to let me know. Or make directly a pull request.
License
This theme is released under the MIT license. For more information read the License.
Annotations
Thanks to Steve Francia for creating Hugo and the awesome community around the project.