A clean and minimal Hugo theme.
Find a file
2022-11-09 18:03:38 +08:00
.github/workflows add language navigator and fix some styles 2022-11-07 16:57:21 +08:00
archetypes Initial commit 2021-07-18 16:34:01 +08:00
assets fix mermaid 2022-11-09 18:03:38 +08:00
data update readme and screenshots 2022-11-08 23:53:16 +08:00
exampleSite fix mermaid 2022-11-09 18:03:38 +08:00
i18n update readme and screenshots 2022-11-08 23:53:16 +08:00
images update readme and screenshots 2022-11-08 23:53:16 +08:00
layouts fix mermaid 2022-11-09 18:03:38 +08:00
static mermaid support 2021-08-19 12:42:47 +08:00
testdata rss feeds 2022-02-17 18:18:35 +08:00
.gitignore add line highlighting #20 2022-04-12 21:43:46 +08:00
config.toml add 3 kinds of buttons to open toc content 2021-12-02 13:52:55 +08:00
LICENSE Initial commit 2021-07-18 16:34:01 +08:00
Makefile add language navigator and fix some styles 2022-11-07 16:57:21 +08:00
README.md Create README.md 2022-11-09 02:11:37 +08:00
theme.toml update readme and screenshots 2022-11-08 23:53:16 +08:00

Minima

A clean and minimal Hugo theme porting from Hexo Minima. Check out the example site.

screenshot

Note that the main branch is in development stage, UI or configuration may vary.

Features

  • Dark mode
  • Multilingual mode
  • Code highlighting - VSCode dark+
  • Math - KaTeX
  • Flowcharts - Mermaid
  • Comment - Disqus, Utterances, Giscus
  • Google analytics
  • External link
  • RSS

Usage

Before using Minima, make sure you've got Hugo (extended version) installed on your device.

Installation

You can use either git submodule or git clone to fetch this theme into the directory where Hugo places themes.

Git Submodule

git submodule add --depth 1 https://github.com/mivinci/hugo-theme-minima.git themes/minima

Git Clone

git clone https://github.com/mivinci/hugo-theme-minima.git themes/minima

Configuration

Follow exampleSite/config.yaml and edit your own one.

Supported Front Matters

Attr Type Explanation
title string title
description string description
date string creation time
categories array category list
series array series list
tags array tag list
math bool enables math formulas rendering
mermaid bool enables flowcharts rendering
comment bool enable comment plugin
draft bool disallow being published
link string a URL to redirect to

Contribution

I'm currently looking for i18n contributors :)

Feedback

Feedbacks are welcome here.

License

Hugo Minima is MIT licensed.