🌝

Instruction

Posted at — Jul 19, 2021

A Clean and minimal Hugo theme porting from Minima on Hexo. Click me to take a look at the demo site.

Features

Usage

Before using Minima, make sure you’ve got Hugo(v0.41.0 or higher) installed on your device.

Installation

Suppose blog is where you place your sources.

1
2
3
cd blog
git init
git submodule add --depth 1 https://github.com/mivinci/hugo-theme-minima.git themes/minima

Or clone directly if you don’t wanna use the Git submodule.

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

Anyways, you just need to put Minima under the blog/themes directory.

Configuration

Follow exampleSite/config.toml and edit your own blog/config.toml file.

Supported Front Matters

FieldTypeExplanation
titlestringTitle of the post, will be rendered in a h1 tag
descriptionstringDescription of the post, will be rendered in a p tag
datestringDatetime that the post is written
categoriesarrayArray of categories the posts belongs to
seriesarrayArray of series the post belongs to
tagsarrayArray of tags the posts is related to
mathboolTrue if the post needs to render math formulas
mermaidboolTrue if the post needs to render mermaid graphs
commentboolTrue if the post allows people to make comments
draftboolTrue if the post isn’t already to production
tocboolTrue if the post needs a ToC

Feedback

Feedbacks are welcome here.