diff --git a/assets/images/Apple-Devices-Preview.jpg b/assets/images/Apple-Devices-Preview.jpg deleted file mode 100644 index b2973a14..00000000 Binary files a/assets/images/Apple-Devices-Preview.jpg and /dev/null differ diff --git a/assets/images/apple-devices-preview.webp b/assets/images/apple-devices-preview.webp new file mode 100644 index 00000000..8670c06b Binary files /dev/null and b/assets/images/apple-devices-preview.webp differ diff --git a/assets/images/hugo-fixit.webp b/assets/images/hugo-fixit.webp new file mode 100644 index 00000000..bb47d9dd Binary files /dev/null and b/assets/images/hugo-fixit.webp differ diff --git a/assets/images/tn.png b/assets/images/tn.png index 5013a034..634eaa3f 100644 Binary files a/assets/images/tn.png and b/assets/images/tn.png differ diff --git a/config/_default/params.en.toml b/config/_default/params.en.toml index 99d861f9..18af9b9b 100644 --- a/config/_default/params.en.toml +++ b/config/_default/params.en.toml @@ -22,3 +22,6 @@ [social.QQGroup] id = "awbwdTtSQ_-H5QGzeJxdWgv6JMbNehNM" Title = "Join FixIt related discussion on QQ Group" + +[watermark] + content = 'FixIt logo FixIt Theme' \ No newline at end of file diff --git a/config/_default/params.toml b/config/_default/params.toml index 3d91f54c..216fae0a 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -23,7 +23,7 @@ fingerprint = "" dateFormat = "2006-01-02" # website images for Open Graph and Twitter Cards # 网站图片,用于 Open Graph 和 Twitter Cards -images = ["/images/fixit.min.svg"] +images = ["/images/apple-devices-preview.webp"] # FixIt 0.2.12 | NEW enable PWA # FixIt 0.2.12 | 新增 开启 PWA 支持 enablePWA = true @@ -85,13 +85,13 @@ disableThemeInject = false noFavicon = false # modern SVG favicon to use in place of older style .png and .ico files # 更现代的 SVG 网站图标,可替代旧的 .png 和 .ico 文件 - svgFavicon = "" + # svgFavicon = "/images/fixit.min.svg" # Safari mask icon color # Safari 图标颜色 - iconColor = "#5bbad5" + iconColor = "#FF7359" # Windows v8-10 tile color # Windows v8-10 磁贴颜色 - tileColor = "#da532c" + tileColor = "#2d89ef" # Android browser theme color # Android 浏览器主题色 [app.themeColor] @@ -153,7 +153,7 @@ disableThemeInject = false [header.title] # URL of the LOGO, default is favicon # LOGO 的 URL,默认为网站图标 - logo = "/images/fixit.min.svg" + logo = "/images/hugo-fixit.webp" # title name, default is site title # 标题名称,默认为网站标题 name = "" @@ -301,7 +301,7 @@ disableThemeInject = false gravatarEmail = "" # URL of avatar shown in home page # 主页显示头像的 URL - avatarURL = "/images/fixit.min.svg" + avatarURL = "/images/hugo-fixit.webp" # FixIt 0.2.17 | NEW identifier of avatar menu link # FixIt 0.2.17 | 新增 头像菜单链接的 identifier avatarMenu = "" @@ -940,7 +940,7 @@ disableThemeInject = false [seo] # image URL # 图片 URL - image = "/images/Apple-Devices-Preview.jpg" + image = "/images/apple-devices-preview.webp" # thumbnail URL # 缩略图 URL thumbnailUrl = "/images/tn.png" diff --git a/config/_default/params.zh-cn.toml b/config/_default/params.zh-cn.toml index 7f0c4e76..e8ad01b6 100644 --- a/config/_default/params.zh-cn.toml +++ b/config/_default/params.zh-cn.toml @@ -30,7 +30,7 @@ description = "Hugo 主题 - FixIt" selector = "article" [watermark] - content = 'FixIt logo FixIt 主题' + content = 'FixIt logo FixIt 主题' [githubCorner] title = "在 GitHub 上查看源代码" diff --git a/content/en/about/index.md b/content/en/about/index.md index 62f34ed9..091d5475 100644 --- a/content/en/about/index.md +++ b/content/en/about/index.md @@ -3,7 +3,6 @@ title: About FixIt date: 2019-08-02T11:04:49+08:00 draft: false comment: false -pageStyle: wide lightgallery: true math: true heading: @@ -21,7 +20,7 @@ heading: > > It is based on the original [LoveIt Theme](https://github.com/dillonzq/LoveIt), [KeepIt Theme](https://github.com/Fastbyte01/KeepIt) and [LeaveIt Theme](https://github.com/liuzc/LeaveIt). -![Hugo Theme FixIt](/images/Apple-Devices-Preview.jpg "A Clean, Elegant but Advanced Hugo Theme") +![Hugo Theme FixIt](/images/apple-devices-preview.webp "A Clean, Elegant but Advanced Hugo Theme") ## Features diff --git a/content/en/documentation/getting-started/quick-start/cover.webp b/content/en/documentation/getting-started/quick-start/cover.webp index a5fa935d..b70d032f 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 diff --git a/content/en/faq/index.md b/content/en/faq/index.md index ce9870d3..4b1a6473 100644 --- a/content/en/faq/index.md +++ b/content/en/faq/index.md @@ -2,7 +2,6 @@ title: FAQ date: 2019-08-02T11:04:49+08:00 comment: false -pageStyle: wide lightgallery: true --- diff --git a/content/en/tests/encryption/index.md b/content/en/tests/encryption/index.md index 89355fbb..eea2f840 100644 --- a/content/en/tests/encryption/index.md +++ b/content/en/tests/encryption/index.md @@ -25,7 +25,7 @@ I was shy, so I hid. -![Hugo Theme FixIt](/images/Apple-Devices-Preview.jpg 'Hugo Theme FixIt') +![Hugo Theme FixIt](/images/apple-devices-preview.webp 'Hugo Theme FixIt') ## Encrypted Content diff --git a/content/zh-cn/about/index.md b/content/zh-cn/about/index.md index b951278c..bb33ec33 100644 --- a/content/zh-cn/about/index.md +++ b/content/zh-cn/about/index.md @@ -3,7 +3,6 @@ title: 关于 FixIt date: 2019-08-02T11:04:49+08:00 draft: false comment: false -pageStyle: wide lightgallery: true math: true heading: @@ -21,7 +20,7 @@ heading: > > 它的原型基于 [LoveIt 主题](https://github.com/dillonzq/LoveIt),[KeepIt 主题](https://github.com/Fastbyte01/KeepIt) 和 [LeaveIt 主题](https://github.com/liuzc/LeaveIt)。 -![Hugo 主题 FixIt](/images/Apple-Devices-Preview.jpg "一个简洁、优雅且高效的 Hugo 主题") +![Hugo 主题 FixIt](/images/apple-devices-preview.webp "一个简洁、优雅且高效的 Hugo 主题") ## 特性 diff --git a/content/zh-cn/documentation/installation.md b/content/zh-cn/documentation/installation/index.md similarity index 99% rename from content/zh-cn/documentation/installation.md rename to content/zh-cn/documentation/installation/index.md index 8893ce97..970059cd 100644 --- a/content/zh-cn/documentation/installation.md +++ b/content/zh-cn/documentation/installation/index.md @@ -158,7 +158,7 @@ fixit create my-blog {{< admonition danger "提醒" >}} -CLI 假定你事先了解 Hugo 和 FixIt。如果你是 Hugo 或 FixIt 的新手,我们强烈建议你在使用 CLI 之前先阅读 [主题文档](./..),不要使用任何脚手架工具。 +CLI 假定你事先了解 Hugo 和 FixIt。如果你是 Hugo 或 FixIt 的新手,我们强烈建议你在使用 CLI 之前先阅读 [主题文档](../..),不要使用任何脚手架工具。 {{< /admonition >}} ## 比较 diff --git a/content/zh-cn/faq/index.md b/content/zh-cn/faq/index.md index 5100d4e6..2b083f6e 100644 --- a/content/zh-cn/faq/index.md +++ b/content/zh-cn/faq/index.md @@ -2,7 +2,6 @@ title: 常见问答 date: 2019-08-02T11:04:49+08:00 comment: false -pageStyle: wide lightgallery: true --- diff --git a/content/zh-cn/tests/markdown/index.md b/content/zh-cn/tests/markdown/index.md index 4bd7c256..12fd7d5f 100644 --- a/content/zh-cn/tests/markdown/index.md +++ b/content/zh-cn/tests/markdown/index.md @@ -133,9 +133,9 @@ Adipisci ipsam quae odit impedit vitae, nemo facere magnam voluptates! Praesenti ## images -![Hugo Theme FixIt](/images/Apple-Devices-Preview.jpg) -![Hugo Theme FixIt](/images/Apple-Devices-Preview.jpg "A Clean, Elegant but Advanced Hugo Theme") -![](/images/Apple-Devices-Preview.jpg "A Clean, Elegant but Advanced Hugo Theme") +![Hugo Theme FixIt](/images/apple-devices-preview.webp) +![Hugo Theme FixIt](/images/apple-devices-preview.webp "A Clean, Elegant but Advanced Hugo Theme") +![](/images/apple-devices-preview.webp "A Clean, Elegant but Advanced Hugo Theme") get remote images test: diff --git a/data/friends.yml b/data/friends.yml index 70fc7da6..d3291fee 100644 --- a/data/friends.yml +++ b/data/friends.yml @@ -73,6 +73,6 @@ description: 羽翎轩 - nickname: ADD - avatar: /images/fixit.min.svg + avatar: /images/hugo-fixit.webp url: https://github.com/hugo-fixit/docs/edit/main/data/friends.yml description: Create a pull request to add a new site. diff --git a/static/android-chrome-192x192.png b/static/android-chrome-192x192.png index 87ba30b8..33fb2a23 100644 Binary files a/static/android-chrome-192x192.png and b/static/android-chrome-192x192.png differ diff --git a/static/android-chrome-512x512.png b/static/android-chrome-512x512.png index 3e52be3b..3f358214 100644 Binary files a/static/android-chrome-512x512.png and b/static/android-chrome-512x512.png differ diff --git a/static/apple-touch-icon.png b/static/apple-touch-icon.png index 26f95ea8..5cad4b8e 100644 Binary files a/static/apple-touch-icon.png and b/static/apple-touch-icon.png differ diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png index 0594fcf0..7dc946a6 100644 Binary files a/static/favicon-16x16.png and b/static/favicon-16x16.png differ diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png index 1d3f09af..ab7c4a08 100644 Binary files a/static/favicon-32x32.png and b/static/favicon-32x32.png differ diff --git a/static/favicon.ico b/static/favicon.ico index 52540216..ff0ec046 100644 Binary files a/static/favicon.ico and b/static/favicon.ico differ diff --git a/static/mstile-150x150.png b/static/mstile-150x150.png index 0332bbea..ebd5cccb 100644 Binary files a/static/mstile-150x150.png and b/static/mstile-150x150.png differ diff --git a/static/safari-pinned-tab.svg b/static/safari-pinned-tab.svg index 05faebc3..ccb5ceb0 100644 --- a/static/safari-pinned-tab.svg +++ b/static/safari-pinned-tab.svg @@ -2,27 +2,39 @@ -Created by potrace 1.11, written by Peter Selinger 2001-2013 +Created by potrace 1.14, written by Peter Selinger 2001-2017 - - + + + diff --git a/static/site.webmanifest b/static/site.webmanifest index 36f8486b..8371f49e 100644 --- a/static/site.webmanifest +++ b/static/site.webmanifest @@ -1,6 +1,6 @@ { - "name": "FixIt Theme Documentation", - "short_name": "FixIt Docs", + "name": "Hugo FixIt Docs", + "short_name": "Hugo FixIt", "start_url": "/", "description": "A Clean, Elegant but Advanced Hugo Theme", "theme_color": "#ffffff",