A clean and minimal Hugo theme.
Find a file
2022-11-08 23:53:16 +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 breaking change in configuration 2022-11-08 23:10:57 +08:00
data update readme and screenshots 2022-11-08 23:53:16 +08:00
exampleSite update readme and screenshots 2022-11-08 23:53:16 +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 update readme and screenshots 2022-11-08 23:53:16 +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 update readme and screenshots 2022-11-08 23:53:16 +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. See the demo site.

The main branch is in development stage, UI or configuration may vary.

screenshot

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.toml and edit your own one.

Supported Front Matters

Field Type Explanation
title string Title of the post
description string Description of the post
date string Datetime when the post is written
link string If set, the post will redirect to an external link
categories array Array of categories the posts belongs to
series array Array of series the post belongs to
tags array Array of tags the posts is related to
math bool True if the post needs to render math formulas
mermaid bool True if the post needs to render mermaid diagrams
comment bool True if the post allows people to make comments
draft bool True if the post isn't already for publishing

Contribution

I'm currently looking for i18n contributors :)

Feedback

Feedbacks are welcome here.