2022-11-08 16:10:57 +01:00
|
|
|
baseURL: https://mivinci.github.io/hugo-theme-minima
|
|
|
|
languageCode: en-us
|
|
|
|
title: Hugo on Minima
|
2023-05-05 08:39:11 +02:00
|
|
|
copyright: © 2020-2023 X
|
2022-11-08 16:10:57 +01:00
|
|
|
googleAnalytics:
|
|
|
|
# paginate specifies the maximum number of posts displayed on the home page.
|
|
|
|
paginate: 12
|
|
|
|
# theme specifies the name of the theme to be used.
|
|
|
|
theme: hugo-theme-minima
|
|
|
|
# defaultContentLanguage specifies the default language to use.
|
|
|
|
defaultContentLanguage: en
|
|
|
|
# language.x setup
|
|
|
|
languages:
|
|
|
|
en:
|
2023-04-10 15:37:53 +02:00
|
|
|
languageName: EN # will be displayed in the navbar.
|
2022-11-08 16:10:57 +01:00
|
|
|
weight: 1
|
|
|
|
zh-cn:
|
2023-04-10 15:37:53 +02:00
|
|
|
languageName: 简中 # will be displayed in the navbar.
|
2022-11-08 16:10:57 +01:00
|
|
|
weight: 2
|
|
|
|
author:
|
|
|
|
status: 目前住在地球 🌍
|
|
|
|
description: |
|
|
|
|
这是 Minima, 一个简洁的 Hugo 主题,移植自 [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima)。
|
|
|
|
支持深色模式、多语言、数学公式、流程图、代码语法高亮,当然还有分类、标签、系列等等。
|
|
|
|
params:
|
|
|
|
greet: 你好 :)
|
|
|
|
|
|
|
|
# author specifies your name, a slogon and your brief self-introduction.
|
|
|
|
author:
|
2022-11-09 11:57:42 +01:00
|
|
|
name: X
|
2023-02-07 09:51:21 +01:00
|
|
|
status: Currently living on Earth 🌍
|
2022-11-08 16:10:57 +01:00
|
|
|
description: |
|
|
|
|
This is Minima, a clean and minimal Hugo theme porting from
|
|
|
|
[Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima). It has supports
|
|
|
|
for dark mode, multilingual mode, math formulas, flowcharts, syntax highlighting,
|
|
|
|
and of course taxonomies like categories, tags, and series.
|
|
|
|
|
|
|
|
params:
|
|
|
|
# greet specifies greeting words.
|
|
|
|
greet: Hello :)
|
|
|
|
# subtitle speficies a subtitle displayed right after the site title.
|
|
|
|
subtitle:
|
2023-04-10 15:37:53 +02:00
|
|
|
# switch specifies two emojis used as the button toggling color themes.
|
2022-11-08 16:10:57 +01:00
|
|
|
switch: ["🌚", "🌝"]
|
2023-04-10 15:37:53 +02:00
|
|
|
# minima has one dark theme and multiple light themes. defaultTheme specifies
|
|
|
|
# a default light theme to use. currently available options: light, sand, rock, system.
|
|
|
|
defaultTheme: sand
|
2022-11-08 16:10:57 +01:00
|
|
|
# displayDate speficies whether or not to display post date on the home page.
|
|
|
|
displayDate: true
|
|
|
|
# displayDescription specifies whether or not to display post description on
|
|
|
|
# the hoem page.
|
|
|
|
displayDescription: true
|
2023-04-10 15:37:53 +02:00
|
|
|
# selectable specifies if or not your post content can be selected.
|
2022-11-08 16:10:57 +01:00
|
|
|
selectable: true
|
|
|
|
# social is an array containing as many as social accounts to be displayed
|
|
|
|
# in the buttom of every page.
|
|
|
|
social:
|
|
|
|
- name: "twitter"
|
|
|
|
url: "https://twitter.com/realmivinci"
|
|
|
|
- name: "email"
|
|
|
|
url: "mailto:mivinci@qq.com"
|
|
|
|
- name: "github"
|
|
|
|
url: "https://github.com/mivinci/hugo-theme-minima"
|
|
|
|
- name: "rss"
|
|
|
|
url: "/index.xml"
|
|
|
|
|
2022-11-09 13:51:50 +01:00
|
|
|
# math plugin
|
|
|
|
math:
|
|
|
|
enable: false
|
|
|
|
provider: katex
|
|
|
|
|
|
|
|
# diagram plugin
|
|
|
|
diagram:
|
|
|
|
enable: false
|
|
|
|
provider: mermaid
|
|
|
|
|
|
|
|
# comment plugin
|
2022-11-09 09:03:19 +01:00
|
|
|
comment:
|
2022-11-09 13:51:50 +01:00
|
|
|
enable: true
|
2022-11-09 09:03:19 +01:00
|
|
|
provider: giscus
|
|
|
|
# check out https://disqus.com/
|
|
|
|
disqus:
|
|
|
|
shortname: hugo-minima
|
|
|
|
# check out https://utteranc.es
|
|
|
|
utterances:
|
|
|
|
repo: mivinci/hugo-theme-minima
|
|
|
|
issueTerm: pathname
|
|
|
|
label: comment
|
|
|
|
# check out https://giscus.app
|
|
|
|
giscus:
|
|
|
|
repo: mivinci/hugo-theme-minima
|
|
|
|
repoId: MDEwOlJlcG9zaXRvcnkzODcxMjM2NDU=
|
|
|
|
category: Comments
|
|
|
|
categoryId: DIC_kwDOFxMJvc4CScQm
|
|
|
|
mapping: pathname
|
|
|
|
inputPosition: buttom # bottom | top
|
|
|
|
reactions: true
|
|
|
|
metadata: false
|
|
|
|
|
2022-11-09 13:51:50 +01:00
|
|
|
|
2022-11-08 16:10:57 +01:00
|
|
|
# menu.main is an array containing what is used as the navigator.
|
|
|
|
menu:
|
|
|
|
main:
|
|
|
|
- identifier: tags
|
|
|
|
name: "Tags"
|
|
|
|
weight: 2
|
|
|
|
- identifier: series
|
|
|
|
name: "Series"
|
|
|
|
weight: 3
|
|
|
|
|
|
|
|
# taxonomies defines ways to classify yout posts. Below are some presets that
|
|
|
|
# most bloggers use, so you can replace them with whatever you like.
|
|
|
|
taxonomies:
|
|
|
|
category: categories
|
|
|
|
tag: tags
|
|
|
|
series: series
|
|
|
|
|
|
|
|
# markup.highlight has two keys set to make sure that the syntax highlighting
|
2023-04-10 15:37:53 +02:00
|
|
|
# in your posts are rendered correctly, so DO NOT edit them.
|
2022-11-08 16:10:57 +01:00
|
|
|
markup:
|
|
|
|
highlight:
|
|
|
|
lineNos: true
|
|
|
|
noClasses: false
|