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, emoji support, and slick fonts.
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 content/
, static/css
, and config.toml
from the exampleSite
directory into the classic directory. The existing content/
, static/css
, and config.toml
files will be over-written.
6: Run hugo server
within classic/
and enjoy and customize to your hearts content!
To make new posts, simply use the command line:
hugo new post/good-to-great.md
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.
hugo-classic has appeared in...