Skip to content

eniehack/hugo-zen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hugo Zen

Hugo Zen is a minimal hugo theme with milligram, and consider machine-readablity.

features

Installation & Usage

Clone this repository to your hugo theme directory.

$ git clone https://github.com/eniehack/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 = "https://blog.eniehack.net"
languageCode = "ja"
hasCJKLanguage = true
enableEmoji = true
enableGitInfo = true
defaultcontentlangage = "ja"
theme = "hugo-zen"
copyright = '''
2020 eniehack.
Assets and articles not otherwise specified are licensed under <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
Source code is licensed under by <a href="https://apache.org/licenses/LICENSE-2.0.txt">Apache-2.0</a>.
'''
title = "およそMECEでないアカシックレコードの200那由多飛んで3万分の1"
pygmentsCodeFences = true


[outputs]
    home = ["HTML", "ATOM"]
    section = ["HTML"]
    taxonomy = ["HTML"]
    term = ["HTML", "ATOM"]

[mediaTypes]
[mediaTypes."application/atom+xml"]
    suffixes = ["xml"]

[outputFormats]
[outputFormats.ATOM]
    name = "ATOM"
    mediaType = "application/atom+xml"
    baseName = "atom"
    rel = "alternate"

[params.services.limit]
    rss = 20
    home = 10

[params]
    author = "Nakaya"
    dateform = "January 02, 2006"
    dateformShort = "January 02, 2006"
    dateformNum = "2006/01/02"
    dateformNumTime = "2006/01/02 15:04 -0700"
    locale = "ja_JP"
    ogp_image = "avatar.png"
    twitter = "eniehack" # for OGP (like <meta name="twitter:site" content="@eniehack">)

[[params.social]]
    name = "github"
    icon = "github" # refers fork-awesome (https://forkaweso.me/Fork-Awesome/)
    url = "https://github.com/eniehack"

[[params.social]]
    name = "gitlab"
    icon = "gitlab"
    url = "https://gitlab.com/eniehack"

[[params.social]]
    name = "mastodon"
    icon = "mastodon"
    url = "https://mstdn.sublimer.me/@eniehack"

[[params.social]]
    name = "twitter"
    icon = "twitter"
    url = "https://twitter.com/eniehack"

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

License

MIT License

Author

About

Hugo Zen is a minimal hugo theme.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 82.4%
  • SCSS 17.6%