Skip to content

Commit

Permalink
feat: blog enable git info for post
Browse files Browse the repository at this point in the history
  • Loading branch information
liaobinbin committed Aug 27, 2024
1 parent 59e8eb6 commit 6887d6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
baseURL = "https://liaobinbin.com/"
languageCode = "zh-cn"
title = "Boiao Ch"
title = "林彡示申/Boiao Ch/Blog"
theme = "LoveIt"
copyright = "&copy; <a href=\"https://liaobinbin.com\"> Boiao Ch</a> 2008 - 2018"
publishdir = "docs"
Expand All @@ -10,6 +10,8 @@ enableEmoji = true

defaultContentLanguage = "zh-cn"

enableGitInfo = true

[author]
name = "Boiao Ch"
email = "[email protected]"
Expand Down
6 changes: 3 additions & 3 deletions themes/LoveIt/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
[params]
# site default theme ["auto", "light", "dark"]
# 网站默认主题 ["auto", "light", "dark"]
defaultTheme = "auto"
defaultTheme = "light"
# public git repo url only then enableGitInfo is true
# 公共 git 仓库路径,仅在 enableGitInfo 设为 true 时有效
gitRepo = ""
gitRepo = "https://github.com/liaobinbin/liaobinbin.github.io"
# which hash function used for SRI, when empty, no SRI is used
# ["sha256", "sha384", "sha512", "md5"]
# 哪种哈希函数用来 SRI, 为空时表示不使用 SRI
Expand All @@ -20,7 +20,7 @@
dateFormat = "2006-01-02"
# website title for Open Graph and Twitter Cards
# 网站标题, 用于 Open Graph 和 Twitter Cards
title = "Boiao Ch"
title = "林彡示申/Boiao Ch/Blog"
# website description for RSS, SEO, Open Graph and Twitter Cards
# 网站描述, 用于 RSS, SEO, Open Graph 和 Twitter Cards
description = "Keep Focus!"
Expand Down

0 comments on commit 6887d6e

Please sign in to comment.