Skip to content

vran-dev/hugo-zenHo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Languange

English | 中文

What

ZenHo is a pretty simple & nice theme for Hugo

All good things come to thos who wait.

screenshot

Features TODO

  • Disqus comment
  • Google Analytics
  • Baidu Analytics
  • Table of Content
  • Social list
  • Utteranc comment
  • shortcode: github project card

How to use

Step 1 :

​ If you know Hugo for the first time,you need to learn official tutorial first.

Step 2 :

​ you can use hugo-zenHo/archetypes/default.md replace your blog's archetypes/default.md `

Step 3 :

​ If you want to custon your about page, you should create markdown file content/about/_index.md, then write it in markdown syntax.

Step 4:

​ Copy [Configuration Override](##Configuration Override) content to your config.toml,for better highlight, you can use xcode style

[markup]
  [markup.highlight]
    style = "xcode"

More info could be found at exampleSite directory.

Github project card

ZenHo use shortCode and github-readme-stats to implement Github Project card.

github-project-card

you can use the following code to show card in post

{{< github-project username="your github user name" repo="your github project name" >}}

such as

{{< github-project username="vran-dev" repo="hugo-zenHo" >}}

Configuration Override

You can copy some item to your config.toml .

baseURL = "http://localhost:1313/"
languageCode = "en-us"
title = "ZenHo"
paginate = 6

[params]
    enableSummary = true
    useDescriptionReplaceSummary = true
    enableToc = false

    author  = "vran"
    bio = "All good things come to thos who wait."

    # baidu analytics
    enableBaiduAnalytics = false
    baiduAnalyticsToken = ""

    googleSiteVerificationToken = ""

    # social page url
    github = "#"
    twitter = "#"
    facebook = "#"
    email = ""

    # utteranc comment
    enableUtteranc = false
    [params.utteranc]
        repo="username/github-page-repository"
        theme="github-light"
        crossorigin="anonymous"
        issueTerm="pathname"
        label="Comment"

[markup]
  [markup.highlight]
    style = "xcode"
  [markup.tableOfContents]
    endLevel = 2
    ordered = false
    startLevel = 2

Screenshots

  • Home

  • post

  • Archive

  • tags

  • About

About

Pretty clean theme for Hugo, zen &. ho

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published