hurock
A classic sidebar Hugo theme
Screenshots
index.html:
List view:
Content view:
404 error page:
Concept
- No external ressources (js/css/fonts)
- Easy to add stuff in header/footer
- Syntax highlight on client side using highlight.js
- Shortcodes for vimeo/youtube/gist
- W3C valid
- Clean HTML
- Sidebar after content
- CSS in head, JS before end of body
Theme mostly insipred on theme nofancy
but also: hyde-x
, lanyon
, liquorice
, purehugo
, redlounge
.
Config
baseurl = "http://example.com"
title = "Your site title"
[author]
name = "Your Name"
email = ""
github = ""
twitter = ""
facebook = ""
googleplus = ""
linkedin = ""
gaID = "Google Analytics Tracking ID"
[params]
Description = "text under logo"
# Optional
disqusShortname = ""
highlight_theme = "tomorrow-night"
notoc = true
# Optional sections:
[permalinks]
posts = "/:year/:month/:filename/"
[blackfriday]
plainIdAnchors = true
- You can change the
highlight.js
theme, seehighlight_theme
parameter, but you’ll have to add the corresponding css in yourstatic/highlight/
folder. notoc
means no TableOfContents. It is used to hide the table of contents. Indeed, in case you’re using the permalinks parameter, the table of contents links are not working with current Hugo version (0.13).