Skip to content
Moments piled up. A Hugo theme ported from SumiMakito/hexo-theme-Journal.
CSS HTML JavaScript
Branch: master
Clone or download

README.md

hugo-theme-diary

Live Demo

Original Author: SumiMakito

隻言片語・於此匯聚

Moments piled up.

A Hugo theme ported from SumiMakito/hexo-theme-Journal.

Hereinafter referred to the original version made by SumiMakito as the ori.

The porting is basically finished.

And more functions are on the way..

Screenshots

Live Demo here!

Site Main Page

An essay with picture.

Mobile Main Page

Features

Features in the ori.:

  • Simple and easy to customize
  • Concentrated on reading and writing (find a Markdown editor then) experience
  • Mobile-friendly & widescreen-friendly
  • Flexible commenting control

Features in this ported version:

  • Add support for gitalk.
  • Tag & category page appending more easily.
  • Customizable color scheme. (Some bug in original version, fixed.)
  • Firefox-friendly. (CSS issue in original version, fixed.)
  • featured_image url bug is fixed.

Quick Start

If your website is using Git as version control, please do as follows:

  1. Fetch the theme dir.

From the root of your Hugo site, open the terminal and execute:

git submodule add https://github.com/AmazingRise/hugo-theme-diary.git themes/diary
  1. Update git repository.

Then update the git repository from the root of your site:

git submodule update --remote --merge
  1. Run example site.

From the root of themes/diary/exampleSite:

hugo server --themesDir ../..

Using & Customize

As for other details, please visit the project wiki for details.

Change color scheme

Add or disable comment area

Add Google Analytics

About sidebar and taxonomies

Example config

Here is an example config. (The same as /exampleSite/config.toml)

baseURL = "http://example.org/"
languageCode = "en-us"
title = "A Hugo Site"
copyright = "This is a customized copyright."

theme = "diary"
# googleAnalytics = "UA-123-45"

[params]
subtitle = "Themed by Diary."
enableGitalk = true

[params.gitalk]
owner = "user"
repo = "repo name"
client_id = "your client id"
client_secret = "your client secret"

[taxonomies]
tag = "tags"
category = "categories"

Comparison

For details about the difference lies in the new version, please click here.

You can’t perform that action at this time.