TiTi / hurock

A Hugo blog theme

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

[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, 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).

About

A Hugo blog theme

License:MIT License


Languages

Language:HTML 76.8%Language:CSS 21.3%Language:JavaScript 1.9%