Simple minimalistic dark theme for Hugo.
- Responsive minimalistic design
- Configurable theme colors (with custom css file)
- Syntax highlight with builtin Chroma
- OpenGraph, Twitter cards support
- Disqus comments support
- Google analytics (async)
- Configurable pagination for posts
- Lazy menu
- Custom 404 page
$ mkdir themes
$ cd themes
$ git clone https://github.com/gyorb/hugo-dusk
Example configuration:
baseurl = "/"
title = "My site."
copyright = "Copyright (c) 2017, all rights reserved."
canonifyurls = true
languageCode = "en-US"
paginate = 3
theme = "hugo-dusk"
googleAnalytics = ""
disqusShortname = ""
[author]
name = ""
SectionPagesMenu = "main"
# use Chroma for syntax highlight
pygmentsStyle = "native" # other dark style options: vim, fruity, monokai
# enable syntax highlight for code blocks
pygmentsCodeFences = true
[[menu.main]]
name = "Posts"
weight = -120
identifier = "post"
url = "/post/"
[[menu.main]]
name = "Tags"
weight = -110
identifier = "tag"
url = "/tags/"
[params.meta]
keywords = "blog, tech"
description = "Personal blog."
[params]
github = "github id"
gitlab = "gitlab id"
twitter = "twitter id"
linkedin = "linkedin id"
email = "myemail"
theme_colors = "default-dark" # uses color css file under static/css/default-dark.css