About

Post at — Jul 10, 2019

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

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

Git Clone

1
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

AttrTypeExplanation
titlestringtitle
descriptionstringdescription
datestringcreation time
categoriesarraycategory list
seriesarrayseries list
tagsarraytag list
mathboolenables math plugin
diagramboolenables diagram plugin
commentboolenable comment plugin
draftbooldisallow being published
linkstringa URL to redirect to

Contribution

I’m currently looking for i18n contributors :)

Feedback

Feedbacks are welcome here.

Star History

Star History Chart

License

Hugo Minima is MIT licensed.