Forked from https://github.com/bickhaus/hugo-dusk
|
||
---|---|---|
archetypes | ||
exampleSite | ||
images | ||
layouts | ||
static/css | ||
.gitignore | ||
CHANGELOG.md | ||
LICENSE.md | ||
Makefile | ||
README.md | ||
theme.toml |
README.md
Simple minimalistic dark theme for Hugo.
Features
- Responsive minimalistic design
- Configure theme colors via 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
- Font Awesome icons in top social header
Installation
$ mkdir themes
$ cd themes
$ git clone https://github.com/bickhaus/hugo-dusk.git
Configuration
Example configuration:
baseurl = "/"
title = "My site."
copyright = "Copyright (c) 2018. See <a href=#>someSite</a> for more information."
canonifyurls = true
languageCode = "en-US"
paginate = 3
theme = "hugo-dusk"
enableRobotsTXT = true
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