Skip to content

masa0221/hugo-theme-geppaku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geppaku

Geppaku is bluish white theme for Hugo.

Note that it is not in the "Seppuku".
I'm not Samurai.

Please check http://2626.info/, if you are interested in this theme.

Screenshot

Index page

list

Post page

post

Installation

$ mkdir themes
$ cd themes
$ git clone https://github.com/masa0221/hugo-theme-geppaku hugo-theme-geppaku

See the Hugo documentation for more information.

Config

Example of config.toml file:

baseurl = "http://your-site-here/"
languageCode = "en-us"
title = "your site title"
theme= "hugo-theme-geppaku"
googleAnalytics = ""
disqusShortname = ""

[author]
    # If you want to display author information set these
    # This is Optional values
    name = "Your name"

    # Please set account ids
    # This is Optional values
    twitter  = "your twitter id"
    linkedin = "your linkedin id"
    github   = "your github id"
    tumblr   = "your tumblr id"

[params]
    [params.sharebutton]
        # If you want to display share buttons set these
        # This is Optional values
        twitter  = true
        facebook = true
        tumblr   = true
        # hatena   = true # hatena is Japanese social media
        google   = true
        pocket   = true
        # Please set id when you want to display facebook
        facebookAppId = "your app id"

    [params.adsense]
        # If you want to display Google adsense set these
        # This is Optional values
        # 1. Create file written of the adsense tag into the directory "layouts/partials"
        # 2. Please set file path name omitted "layouts/partials"
        sidebar = "adsense/sidebar.html"
        content = "adsense/content.html"

You can delete optional parameter.
Please delete unnecessary parameter.

Post

Create markdown file:

hugo new post/2016/05/hello-hugo.md

Example of the markdown file:

+++
date = "2016-04-30T16:44:45+09:00"
draft = false
title = "Hello Hugo!"
slug = "hello-hugo"
categories = ["tech"]
tags = [
  "hugo",
  "golang",
  ]
+++
Hello Hugo!

Example

Please check sample.
https://github.com/masa0221/hugo-theme-geppaku/tree/master/exampleSite

About

Theme for the Hugo static website generator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published