secondspass / hugo-dusk

Simple, minimalistic dark theme for Hugo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple minimalistic dark theme for Hugo. Modified to my preference.

screenshot

Features

  • Responsive minimalistic design
  • Configurable theme colors
  • Syntax highlight with builtin Chroma
  • OpenGraph, Twitter cards support
  • Configurable pagination for posts
  • KaTeX included (for use with mmark)
  • Lazy menu
  • Custom 404 page

Installation

$ mkdir themes
$ cd themes
$ git clone https://github.com/secondspass/hugo-dusk

Configuration

Example configuration:

baseurl = "/"
title = "My site."
copyright = "Copyright (c) 2017, all rights reserved."
canonifyurls = true
languageCode = "en-US"
paginate = 3
theme = "hugo-dusk"

# use Chroma for syntax highlight
pygmentsStyle = "native" # other dark style options: vim, fruity, monokai
# enable syntax highlight for code blocks
pygmentsCodeFences = true

[author]
  name = ""


[[menu.main]]
  name = "Posts"
  weight = -120
  identifier = "posts"
  url = "/posts/"

[[menu.main]]
  name = "Tags"
  weight = -110
  identifier = "tag"
  url = "/tags/"

[params.meta]
  keywords = "blog, tech"
  description = "Personal blog."

[params]
  github = "github id"
  twitter = "twitter id"

[params.colors]
  # hugo-dusk colors
  background = "#101010" # background color for the site
  main = "#99cc66"
  text = "#dbdbdb"
  code-quote-bg = "#1D1F21" # background color for quotes and code blocks
  copyright = "#404040" # copyright text color

About

Simple, minimalistic dark theme for Hugo.

License:MIT License


Languages

Language:CSS 54.7%Language:HTML 42.8%Language:Makefile 2.5%