feat: update front matter and docs

This commit is contained in:
Dillon 2022-05-13 01:03:24 +08:00
parent 8a9df9b02f
commit 568fe8f5fc
No known key found for this signature in database
GPG key ID: 0EF4AE57FB98F108
4 changed files with 48 additions and 14 deletions

View file

@ -7,22 +7,56 @@ draft: true
author: ""
authorLink: ""
description: ""
license: ""
images: []
tags: []
categories: []
hiddenFromHomePage: false
hiddenFromSearch: false
featuredImage: ""
featuredImagePreview: ""
hiddenFromHomePage: false
hiddenFromSearch: false
twemoji: false
lightgallery: true
ruby: true
fraction: true
fontawesome: true
linkToMarkdown: true
rssFullText: false
toc:
enable: true
auto: true
code:
copy: true
maxShownLines: 50
math:
enable: false
lightgallery: false
license: ""
# ...
mapbox:
# ...
share:
enable: true
# ...
comment:
enable: true
# ...
library:
css:
# someCSS = "some.css"
# located in "assets/"
# Or
# someCSS = "https://cdn.example.com/some.css"
js:
# someJS = "some.js"
# located in "assets/"
# Or
# someJS = "https://cdn.example.com/some.js"
seo:
images: []
# ...
---
<!--more-->

View file

@ -83,6 +83,7 @@ images: []
tags: []
categories: []
featuredImage: ""
featuredImagePreview: ""
@ -101,12 +102,11 @@ toc:
auto: true
code:
copy: true
# ...
maxShownLines: 50
math:
enable: true
enable: false
# ...
mapbox:
accessToken: ""
# ...
share:
enable: true
@ -144,6 +144,7 @@ seo:
* **tags**: the tags for the content.
* **categories**: the categories for the content.
* **featuredImage**: the featured image for the content.
* **featuredImagePreview**: the featured image for the content preview in the home page.

View file

@ -82,6 +82,7 @@ images: []
tags: []
categories: []
featuredImage: ""
featuredImagePreview: ""
@ -100,12 +101,11 @@ toc:
auto: true
code:
copy: true
# ...
maxShownLines: 50
math:
enable: true
enable: false
# ...
mapbox:
accessToken: ""
# ...
share:
enable: true
@ -143,6 +143,7 @@ seo:
* **tags**: 文章的标签.
* **categories**: 文章所属的类别.
* **featuredImage**: 文章的特色图片.
* **featuredImagePreview**: 用在主页预览的文章特色图片.

View file

@ -6,9 +6,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noodp" />
<title>
{{- block "title" . }}{{ .Site.Title }}{{ end -}}
</title>
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
{{- partial "head/meta.html" . -}}
{{- partial "head/link.html" . -}}