tflijon / hugo-theme-minima

A clean and minimal Hugo theme.

Home Page:https://mivinci.github.io/hugo-theme-minima

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A clean and minimal Hugo theme.

https://mivinci.github.io/hugo-theme-minima

License:MIT License


Languages

Language:HTML 48.8%Language:SCSS 39.6%Language:JavaScript 10.7%Language:Makefile 0.9%