Skip to content

Commit

Permalink
Docs: 更新头像为 logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Apr 3, 2024
1 parent edcf3b8 commit 4cccd81
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 59 deletions.
Binary file removed assets/images/avatar.png
Binary file not shown.
34 changes: 4 additions & 30 deletions config/_default/params.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,44 +7,18 @@
dir = "content/en"

[search]
enable = true
type = "algolia"
contentLength = 4000
placeholder = ""
maxResultLength = 10
snippetLength = 30
highlightTag = "em"
absoluteURL = false
[search.algolia]
index = "index.en"
appID = "YKOM6PKLUY"
searchKey = "a44c110d3ac360be2c69cd79d34b77a8"

[home]
rss = 10
[home.profile]
enable = true
gravatarEmail = ""
avatarURL = "/images/avatar.png"
avatarMenu = ""
title = ""
subtitle = "A Clean, Elegant but Advanced Hugo Theme"
typeit = true
social = true
disclaimer = ""
[home.posts]
enable = true
paginate = 6

[social]
GitHub = "hugo-fixit"
Twitter = "xxxx"
Instagram = "xxxx"
Facebook = "xxxx"
Telegram = "xxxx"
Youtubelegacy = "xxxx"
Twitter = "lruihao"
Email = "[email protected]"
RSS = true
[social.Mastodon]
id = "@xxxx"
prefix = "https://mastodon.technology/"
[social.QQGroup]
id = "awbwdTtSQ_-H5QGzeJxdWgv6JMbNehNM"
Title = "Join FixIt related discussion on QQ Group"
21 changes: 15 additions & 6 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ disableThemeInject = false
enable = true
# type of search engine ["algolia", "fuse"]
# 搜索引擎的类型 ["algolia", "fuse"]
type = "fuse"
type = "algolia"
# max index length of the chunked content
# 文章内容最长索引长度
contentLength = 4000
Expand All @@ -125,8 +125,8 @@ disableThemeInject = false
absoluteURL = false
[search.algolia]
index = ""
appID = ""
searchKey = ""
appID = "YKOM6PKLUY"
searchKey = "a44c110d3ac360be2c69cd79d34b77a8"
[search.fuse]
# FixIt 0.2.17 | NEW https://fusejs.io/api/options.html
isCaseSensitive = false
Expand Down Expand Up @@ -298,10 +298,10 @@ disableThemeInject = false
enable = true
# Gravatar Email for preferred avatar in home page
# Gravatar 邮箱,用于优先在主页显示的头像
gravatarEmail = "[email protected]"
gravatarEmail = ""
# URL of avatar shown in home page
# 主页显示头像的 URL
avatarURL = ""
avatarURL = "/images/fixit.min.svg"
# FixIt 0.2.17 | NEW identifier of avatar menu link
# FixIt 0.2.17 | 新增 头像菜单链接的 identifier
avatarMenu = ""
Expand Down Expand Up @@ -416,6 +416,15 @@ disableThemeInject = false
Phone = ""
Email = ""
RSS = true
# custom social links like the following
# 自定义社交链接如下
# [social.twitter]
# id = "lruihao"
# weight = 3
# prefix = "https://twitter.com/"
# Title = "Twitter"
# [social.twitter.icon]
# class = "fa-brands fa-x-twitter fa-fw"

# Page config
# 文章页面配置
Expand Down Expand Up @@ -472,7 +481,7 @@ disableThemeInject = false
rssFullText = false
# FixIt 0.2.13 | NEW Page style ["narrow", "normal", "wide", ...)
# FixIt 0.2.13 | 新增 页面样式 ["narrow", "normal", "wide", ...)
pageStyle = "normal"
pageStyle = "wide"
# FixIt 0.2.17 | CHANGED Auto Bookmark Support
# If true, save the reading progress when closing the page.
# FixIt 0.2.17 | 更改 自动书签支持
Expand Down
26 changes: 3 additions & 23 deletions config/_default/params.zh-cn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,21 @@ description = "Hugo 主题 - FixIt"
dir = "content/zh-cn"

[search]
enable = true
type = "algolia"
contentLength = 4000
placeholder = ""
maxResultLength = 10
snippetLength = 50
highlightTag = "em"
absoluteURL = false
[search.algolia]
index = "index.zh-cn"
appID = "YKOM6PKLUY"
searchKey = "a44c110d3ac360be2c69cd79d34b77a8"

[home]
rss = 10
[home.profile]
enable = true
gravatarEmail = ""
avatarURL = "/images/avatar.png"
avatarMenu = ""
title = ""
subtitle = "一个简洁、优雅且高效的 Hugo 主题"
typeit = true
social = true
disclaimer = ""
[home.posts]
enable = true
paginate = 6

[social]
GitHub = "hugo-fixit"
Weibo = "liahao"
QQGroup = "awbwdTtSQ_-H5QGzeJxdWgv6JMbNehNM" # https://qun.qq.com/join.html
Email = "[email protected]"
RSS = true
[social.QQGroup]
id = "awbwdTtSQ_-H5QGzeJxdWgv6JMbNehNM"
Title = "FixIt 主题交流群"

[pangu]
enable = true
Expand Down
Binary file modified content/en/documentation/getting-started/quick-start/cover.webp
Binary file not shown.

0 comments on commit 4cccd81

Please sign in to comment.