Skip to content
Snippets Groups Projects
user avatar
Kellen authored
e129239d
History

Hugo.io - Classic Theme

Classic is forked from the XMin theme, written by Yihui Xie. I made a fresh remix of it for my personal blog. It provides some simplifications, highlight.js for syntax highlighting, and slick fonts.

Instructions

1: Install Hugo.

brew install hugo

2: Create a new site.

hugo new site classic

3: Change to themes dir.

cd classic/themes

4: Clone the repo

git clone git@github.com:goodroot/hugo-classic.git

5: Copy the contents of the exampleSite directory into {dir}/classic.

6: Enjoy and customize to your hearts content!

New Posts

To make new posts, simply use the command line:

hugo new post/good-to-great.md

Header Colour

To adjust the header colour, head to static/css/style.css and change...

header {
    background: #613DC1;
}

... background: to any colour value you'd like!

For header font:

header a {
    color: #fff;
}

Change color: to a nice matching colour.

Screenshot

Screenshot of Hugo Classic