Skip to content

Commit 6887d6e

Browse files
committed
feat: blog enable git info for post
1 parent 59e8eb6 commit 6887d6e

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

config.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
baseURL = "https://liaobinbin.com/"
22
languageCode = "zh-cn"
3-
title = "Boiao Ch"
3+
title = "林彡示申/Boiao Ch/Blog"
44
theme = "LoveIt"
55
copyright = "&copy; <a href=\"https://liaobinbin.com\"> Boiao Ch</a> 2008 - 2018"
66
publishdir = "docs"
@@ -10,6 +10,8 @@ enableEmoji = true
1010

1111
defaultContentLanguage = "zh-cn"
1212

13+
enableGitInfo = true
14+
1315
[author]
1416
name = "Boiao Ch"
1517
email = "doubiliao@gmail.com"

themes/LoveIt/config.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
[params]
77
# site default theme ["auto", "light", "dark"]
88
# 网站默认主题 ["auto", "light", "dark"]
9-
defaultTheme = "auto"
9+
defaultTheme = "light"
1010
# public git repo url only then enableGitInfo is true
1111
# 公共 git 仓库路径,仅在 enableGitInfo 设为 true 时有效
12-
gitRepo = ""
12+
gitRepo = "https://github.com/liaobinbin/liaobinbin.github.io"
1313
# which hash function used for SRI, when empty, no SRI is used
1414
# ["sha256", "sha384", "sha512", "md5"]
1515
# 哪种哈希函数用来 SRI, 为空时表示不使用 SRI
@@ -20,7 +20,7 @@
2020
dateFormat = "2006-01-02"
2121
# website title for Open Graph and Twitter Cards
2222
# 网站标题, 用于 Open Graph 和 Twitter Cards
23-
title = "Boiao Ch"
23+
title = "林彡示申/Boiao Ch/Blog"
2424
# website description for RSS, SEO, Open Graph and Twitter Cards
2525
# 网站描述, 用于 RSS, SEO, Open Graph 和 Twitter Cards
2626
description = "Keep Focus!"

0 commit comments

Comments
 (0)