A clean and minimal Hugo theme.
Go to file
CDN bd471708d3
add custom fonts
todo: custom css/js
2024-05-19 19:26:26 +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 add custom fonts 2024-05-19 19:26:26 +08:00
data Update language translations and time formats, add some svg icons (#55) 2023-05-03 17:32:34 +08:00
exampleSite default example site to light theme 2023-06-14 12:27:56 +08:00
i18n Update language translations and time formats, add some svg icons (#55) 2023-05-03 17:32:34 +08:00
images update readme and screenshots 2022-11-08 23:53:16 +08:00
layouts add custom fonts 2024-05-19 19:26:26 +08:00
static add two more themes 2023-04-10 21:37:53 +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 nothing but to refresh deployment 2023-08-17 16:14:50 +08:00
theme.toml update readme and screenshots 2022-11-08 23:53:16 +08:00

Minima

Minima is a clean and minimal Hugo theme originally ported from Hexo Minima. Check out the example site.

screenshot

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

Features

  • 🌗 Dark mode
  • 📚 Multilingual mode
  • 🏳️‍🌈 Code highlighting - VSCode dark+
  • 🔢 Math - KaTeX
  • 💹 Flowcharts - Mermaid
  • 🧑‍💻 Comment - Disqus, Utterances, Giscus
  • 🔎 Search - FuseJS
  • 〽️ 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 plugin
diagram bool enables diagram plugin
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.

Star History

Star History Chart

License

Hugo Minima is MIT licensed.