A simple theme using the Nord palette. Currently it is focused on single-author blogs and no i18n support.
Some features:
- Automatic light and dark theme
- Nord based colors colors (Check Theme Parameters for code tags)
- Open Graph support
- Support for favicons
- Support for vector (SVG) logos
- Table of contents and header anchors
- Support for navigation headers
- Support for Image Processing without shortcodes (See Images)
git submodule add https://github.com/1hiking/SimpleTheme.git themes/SimpleTheme
baseURL = "https://example.com"
languageCode = "en-us" # Language will defined on meta.
relativeURLs = true
title = "Example Site"
theme = "SimpleTheme"
sectionPagesMenu = "main" # Enables automatic navigation bar.
[menu]
# https://gohugo.io/content-management/menus/
[[menu.main]]
identifier = "About"
name = "About"
url = "/about/"
weight = 10
[[menu.main]]
homepage = "Posts"
name = "Posts"
url = "/posts/"
weight = 10
[params]
dateFormat = "02 of January of 2006" # How the date will be displayed on posts.
copyright = "1hiking" # Will be displayed on Footer.
logo = "/path/to/image" # Supports SVG.
logoalt = "My great logo" # alt description of the logo.
postCSS = true # For postCSS support.
[author]
name = "example" # Name of the author.
github = "example" # https://github.com/example.
[markup]
[markup.highlight]
style = 'nord' # Add nord to match theme's palette
To add license as HTML, override the article-license.html
with a CC license for example, you could use the
Creative Commons webpage
You can add a Table of Content by adding the following line at the start of your article.
{{< toc >}}
You can define your own rendering on the configuration file
Partial work of this page was taken from this theme.