Skip to content

Commit

Permalink
fix: Style
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-touret committed Nov 1, 2024
1 parent 7382580 commit de83eb7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion config/_default/params.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ keywords = ["Theme", "Hugo"]
maxResultLength = 10
# snippet length of the result
# 结果内容片段长度
snippetLength = 300
snippetLength = 40
# HTML tag name of the highlight part in results
# 搜索结果中高亮部分的 HTML 标签
highlightTag = "em"
Expand Down Expand Up @@ -103,6 +103,7 @@ keywords = ["Theme", "Hugo"]
# special amount of posts in each home posts page
# 主页每页显示文章数量
paginate = 7

# Social config in home page
# 主页的社交信息设置
[social]
Expand Down
13 changes: 7 additions & 6 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ fingerprint = ""
dateFormat = "2006-01-02"
# website images for Open Graph and Twitter Cards
# 网站图片, 用于 Open Graph 和 Twitter Cards
images = ["/images/alexandre.touret.webp"]
images = ["/assets/images/alexandre.touret.webp"]
# enable PWA
# 开启 PWA 支持
enablePWA = false

# license information
# 许可协议信息 (支持 HTML 格式)
license = '<a rel="license external nofollow noopener noreffer" href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank">CC BY-NC 4.0</a>'
Expand All @@ -32,7 +33,7 @@ bundle = false
name = "Alexandre Touret"
email = ""
link = "https://blog.touret.info"
avatar = "/images/alexandre.touret.webp"
avatar = "/assets/images/alexandre.touret.webp"
gravatarEmail = ""
links = [
{ link = { href = "https://github.com/jpanther/lynx/blob/stable/README.md", text = "View the readme", icon = "github" } },
Expand Down Expand Up @@ -511,12 +512,12 @@ bundle = false
[page.seo]
# image URL
# 图片 URL
images = ['/images/alexandre.touret.webp']
images = ['/assets/images/alexandre.touret.webp']
# Publisher info
# 出版者信息
[page.seo.publisher]
name = "Alexandre Touret"
logoUrl = "/images/alexandre.touret.webp"
logoUrl = "/assets/images/alexandre.touret.webp"
# Related content config
# 相关文章推荐配置
[page.related]
Expand Down Expand Up @@ -563,10 +564,10 @@ bundle = false
[seo]
# image URL
# 图片 URL
image = "/images/alexandre.touret.webp"
image = "/assets/images/alexandre.touret.webp"
# thumbnail URL
# 缩略图 URL
thumbnailUrl = "images/alexandre.touret.webp"
thumbnailUrl = "/assets/images/alexandre.touret.webp"

# Analytics config
# 网站分析配置
Expand Down

0 comments on commit de83eb7

Please sign in to comment.