standarize configuration

This commit is contained in:
Mivinci 2022-11-09 20:51:50 +08:00
parent e4522e429a
commit 37351acf91
17 changed files with 150 additions and 108 deletions

View file

@ -52,10 +52,6 @@ params:
displayDescription: true
# selectable specifies if your post content can be selected.
selectable: true
# commentOnAllPosts specifies if the chosen comment plugin to be enabled on all
# post pages. If enabled, those you don't want a comment plugin to work on just
# set `comment` to false in their front matters.
commentOnAllPosts: true
# social is an array containing as many as social accounts to be displayed
# in the buttom of every page.
social:
@ -68,8 +64,19 @@ params:
- name: "rss"
url: "/index.xml"
# comment specifies a comment plugin.
# math plugin
math:
enable: false
provider: katex
# diagram plugin
diagram:
enable: false
provider: mermaid
# comment plugin
comment:
enable: true
provider: giscus
# check out https://disqus.com/
disqus:
@ -90,6 +97,7 @@ params:
reactions: true
metadata: false
# menu.main is an array containing what is used as the navigator.
menu:
main:

View file

@ -3,7 +3,7 @@ author: Mermaid Team
title: Mermaid Diagrams
date: 2021-07-18T10:52:59+08:00
description: A brief guide to Mermaid syntax.
mermaid: true
diagram: true
tags:
- markdown
- mermaid