hugo-zen icon indicating copy to clipboard operation
hugo-zen copied to clipboard

Hugo Zen is a minimal hugo theme.

Hugo Zen

Hugo Zen is a minimal hugo theme with Skeleton and has ~100 lines of custom CSS.

screenshot

Installation & Usage

Clone this repository to your hugo theme directory.

$ git clone https://github.com/rakuishi/hugo-zen.git themes/hugo-zen
$ hugo server --theme=hugo-zen --buildDrafts --watch

Configuration

In this theme you can add variables to your site config file. The following is the example config:

baseurl = "http://rakuishi.com/"
languageCode = "ja"
title = "rakuishi.com"
author = "rakuishi"
copyright = "rakuishi All rights reserved."
googleanalytics = "UA-12345678-9"

[params]
  logo      = "/images/logo.jpg"
  twitter   = "https://twitter.com/rakuishi07"
  facebook  = "https://www.facebook.com/ochiishikoichiro"
  github    = "https://github.com/rakuishi/"
  gitlab    = "https://gitlab.com/rakuishi/"
  email     = "[email protected]"

copyright may contain safe HTML, such as a link to a license.

Hide pages from the homepage list

To exclude a page from the list on the homepage (e.g. content/about.md), set the following property in the page's frontmatter:

hidefromhome = true

License

MIT License

Author

OCHIISHI Koichiro