hugo-theme-minima/exampleSite/config.yaml

124 lines
3.6 KiB
YAML
Raw Normal View History

2022-11-08 16:10:57 +01:00
baseURL: https://mivinci.github.io/hugo-theme-minima
languageCode: en-us
title: Hugo on Minima
2022-11-09 11:57:42 +01:00
copyright: © 2022 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:
languageName: EN
weight: 1
zh-cn:
languageName: ZH
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:
# switch specifies two emojis to be used as the button toggling color themes.
switch: ["🌚", "🌝"]
# defaultTheme specifies a default theme to be used.
# currently available options: light, dark, system.
defaultTheme: system
# 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
# selectable specifies if your post content can be selected.
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
# in your posts are rendered correctly, so do not edit them.
markup:
highlight:
lineNos: true
noClasses: false