A Hugo blog theme
HTML CSS JavaScript
Latest commit b9b0b93 Jan 14, 2017 @TiTi Work better with Hugo 0.18.1

README.md

hurock

A classic sidebar Hugo theme

My personnal Hugo blog

Screenshots

Home page links:

Home page posts:

List view:

Content view:

404 error page:

Mobile:

Concept

  • No external ressources (js/css/fonts)
  • Easy to add stuff in header/footer
  • Syntax highlight on client side using highlight.js
  • Responsive design
  • Shortcodes for vimeo/youtube/gist
  • W3C valid
    • Clean HTML
    • Sidebar after content
    • CSS in head, JS before end of body
  • Fun 404 page!

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 = ""

[params]
  Description = "text under logo"
  # Optional
  disqusShortname = ""
  gaID = "Google Analytics Tracking ID"
  highlight_theme = "tomorrow-night"
  notoc = true


# Optional sections:
[permalinks]
  posts = "/:year/:month/:filename/"

[blackfriday]
  plainIdAnchors = true
  • You can change the highlight.js theme, see highlight_theme parameter, but you'll have to add the corresponding css in your static/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).