diff --git a/assets/images/avatar.png b/assets/images/avatar.png deleted file mode 100644 index 8a6de77c..00000000 Binary files a/assets/images/avatar.png and /dev/null differ diff --git a/config/_default/params.en.toml b/config/_default/params.en.toml index 804e6f09..99d861f9 100644 --- a/config/_default/params.en.toml +++ b/config/_default/params.en.toml @@ -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 = "fixit@lruihao.cn" RSS = true - [social.Mastodon] - id = "@xxxx" - prefix = "https://mastodon.technology/" + [social.QQGroup] + id = "awbwdTtSQ_-H5QGzeJxdWgv6JMbNehNM" + Title = "Join FixIt related discussion on QQ Group" diff --git a/config/_default/params.toml b/config/_default/params.toml index 5e833ab0..3d91f54c 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -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 @@ -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 @@ -298,10 +298,10 @@ disableThemeInject = false enable = true # Gravatar Email for preferred avatar in home page # Gravatar 邮箱,用于优先在主页显示的头像 - gravatarEmail = "xx@xx.com" + 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 = "" @@ -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 # 文章页面配置 @@ -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 | 更改 自动书签支持 diff --git a/config/_default/params.zh-cn.toml b/config/_default/params.zh-cn.toml index a02e5747..7f0c4e76 100644 --- a/config/_default/params.zh-cn.toml +++ b/config/_default/params.zh-cn.toml @@ -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 = "fixit@lruihao.cn" RSS = true + [social.QQGroup] + id = "awbwdTtSQ_-H5QGzeJxdWgv6JMbNehNM" + Title = "FixIt 主题交流群" [pangu] enable = true diff --git a/content/en/documentation/getting-started/quick-start/cover.webp b/content/en/documentation/getting-started/quick-start/cover.webp index cf6600b3..a5fa935d 100644 Binary files a/content/en/documentation/getting-started/quick-start/cover.webp and b/content/en/documentation/getting-started/quick-start/cover.webp differ