Skip to content

A simple and text-centric theme for Hugo.io.

License

Notifications You must be signed in to change notification settings

luto/hugo-classic

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 a slick, minimal fixed header.

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 [email protected]:goodroot/hugo-classic.git

5: Copy the contents of the scaffold 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 {
    position: relative;
    top: 0;
    width: 100%;
    height: 1.75rem;
    font-family: Roboto, "Liberation Mono";
    font-size: .875rem;
    background: #613DC1;
    border-bottom: 1px solid #000;
    z-index: 99
}

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

For header font:

header a {
    color: #fff;
    line-height: 1.75rem;
    padding: 0 0.5rem
}

Change color: to a nice matching colour.

Screenshot

Screenshot of Hugo Classic

About

A simple and text-centric theme for Hugo.io.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 60.6%
  • CSS 39.4%