/hugo_theme_robust

Primary LanguageHTMLMIT LicenseMIT

修改记录

2016.02.05

  1. 让侧边栏的目录和标签列表支持.html后缀。需要在 [params]标签下添加:

     [params]
     	uglyurls = true
    
  2. 把分享改为JiaThis的代码。

2016.02.02

  1. 把评论系统改为符合国情的友言。
  2. 添加博客作者和图片的侧边栏。
  3. 把Logo和作者照片修改为可配置。

修改与增加的配置选项:

[params]
  Author = "博主姓名"
  AuthorDes = "博主介绍"
  Profile = "images/profile.jpg" # 博主头像
  Logo = "images/logo.jpg" # 头部图片
  UyanId = "1234567" # 友言id
  comment = true # 开启评论

2016.02.02

  1. 把界面修改为中文
  2. 添加Logo背景,在static/images/cover.jpg指定背景Logo。
  3. 效果预览:http://www.aicookie.com

screenshot

Features

  • Google Analytics
  • Disqus
  • Share Buttons(fb, twitter, google+, pocket)
  • Eye-catching Image
  • MicroData
  • Readable text(Customized Vertical Rhythm).

Installation

hugoThemes#Installing Themes.

Configuration

config.yaml

baseurl = "http://hugo.spf13.com/"
title = "Hugo Themes"
author = "Steve Francia"
copyright = "Copyright (c) 2008 - 2014, Steve Francia; all rights reserved."
canonifyurls = true
paginate = 3

[params]
  disqusShortname = "your disqus id." # optional

example post

+++
title = "Getting Started with Hugo"
description = ""
tags = [
    "go",
    "golang",
    "hugo",
    "development",
]
date = "2014-04-02"
categories = [
    "Development",
    "golang",
]

image = "image.jpg" # optional
toc = false # optional, When set to FALSE this parameter, table of contents not appears in only this article.
+++

Contents here

Contact us

Please mail to dim0627@gmail.com or SNS.

https://www.facebook.com/daisuke.tsuji.735