Skip to content

Commit

Permalink
Feat: 更新一些缩略图等
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Apr 3, 2024
1 parent 4cccd81 commit 039a095
Show file tree
Hide file tree
Showing 26 changed files with 68 additions and 53 deletions.
Binary file removed assets/images/Apple-Devices-Preview.jpg
Binary file not shown.
Binary file added assets/images/apple-devices-preview.webp
Binary file not shown.
Binary file added assets/images/hugo-fixit.webp
Binary file not shown.
Binary file removed assets/images/tn.png
Binary file not shown.
Binary file added assets/images/tn.webp
Binary file not shown.
3 changes: 3 additions & 0 deletions config/_default/params.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@
[social.QQGroup]
id = "awbwdTtSQ_-H5QGzeJxdWgv6JMbNehNM"
Title = "Join FixIt related discussion on QQ Group"

[watermark]
content = '<img class="fixit-icon" src="/images/hugo-fixit.webp" alt="FixIt logo" /> FixIt Theme'
16 changes: 8 additions & 8 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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 = ""
Expand Down Expand Up @@ -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 = ""
Expand Down Expand Up @@ -940,10 +940,10 @@ 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"
thumbnailUrl = "/images/tn.webp"

# Analytics config
# 网站分析配置
Expand Down
2 changes: 1 addition & 1 deletion config/_default/params.zh-cn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ description = "Hugo 主题 - FixIt"
selector = "article"

[watermark]
content = '<img class="fixit-icon" src="/images/fixit.min.svg" alt="FixIt logo" /> FixIt 主题'
content = '<img class="fixit-icon" src="/images/hugo-fixit.webp" alt="FixIt logo" /> FixIt 主题'

[githubCorner]
title = "在 GitHub 上查看源代码"
Expand Down
17 changes: 9 additions & 8 deletions content/en/about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -18,10 +17,10 @@ heading:
[![GitHub forks](https://img.shields.io/github/forks/hugo-fixit/FixIt?style=social)](https://github.com/hugo-fixit/FixIt/fork)

> [FixIt](https://github.com/hugo-fixit/FixIt) is a **clean**, **elegant** but **advanced** blog theme for [Hugo](https://gohugo.io/) developed by [Lruihao](https://github.com/Lruihao 'Follow me on GitHub').
>
> 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")
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.webp "A Clean, Elegant but Advanced Hugo Theme")

## Features

Expand Down Expand Up @@ -143,15 +142,17 @@ heading:

</details>

## License

FixIt is licensed under the **MIT** license. Check the [LICENSE file](https://github.com/hugo-fixit/FixIt/blob/master/LICENSE) for details.

## Sponsor

Giving me a Star 🌟 is already the greatest encouragement and support for me.
[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/hugo-fixit/FixIt)

{{< details "If you enjoy the theme, please consider buying me a coffee ☕️." >}}
{{< reward wechatpay="/images/wechatpay.jpg" alipay="/images/alipay.jpg" comment="⚡️ Sponsor for Love, Thanks all! ❤️" mode="fixed" >}}
{{< sponsor-log >}}
{{< /details >}}

## License

FixIt is licensed under the **MIT** license. Check the [LICENSE file](https://github.com/hugo-fixit/FixIt/blob/master/LICENSE) for details.
Don't forget to leave a ⭐️ if you like this theme, thanks!
Binary file modified content/en/documentation/getting-started/quick-start/cover.webp
Binary file not shown.
1 change: 0 additions & 1 deletion content/en/faq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: FAQ
date: 2019-08-02T11:04:49+08:00
comment: false
pageStyle: wide
lightgallery: true
---

Expand Down
2 changes: 1 addition & 1 deletion content/en/tests/encryption/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ I was shy, so I hid.

<!--more-->

![Hugo Theme FixIt](/images/Apple-Devices-Preview.jpg 'Hugo Theme FixIt')
![Hugo Theme FixIt](/images/apple-devices-preview.webp 'Hugo Theme FixIt')

## Encrypted Content

Expand Down
17 changes: 9 additions & 8 deletions content/zh-cn/about/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -18,10 +17,10 @@ heading:
[![GitHub forks](https://img.shields.io/github/forks/hugo-fixit/FixIt?style=social)](https://github.com/hugo-fixit/FixIt/fork)

> [FixIt](https://github.com/hugo-fixit/FixIt) 是一个由 [Lruihao](https://github.com/Lruihao '在 GitHub 上关注我') 开发的**简洁****优雅****高效**[Hugo](https://gohugo.io/) 博客主题。
>
> 它的原型基于 [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 主题")
它的原型基于 [LoveIt 主题](https://github.com/dillonzq/LoveIt)[KeepIt 主题](https://github.com/Fastbyte01/KeepIt)[LeaveIt 主题](https://github.com/liuzc/LeaveIt)

![Hugo 主题 FixIt](/images/apple-devices-preview.webp "一个简洁、优雅且高效的 Hugo 主题")

## 特性

Expand Down Expand Up @@ -143,15 +142,17 @@ heading:

</details>

## 许可协议

FixIt 根据 **MIT** 许可协议授权。更多信息请查看看 [LICENSE 文件](https://github.com/hugo-fixit/FixIt/blob/master/LICENSE)

## 赞助支持

给我一个 Star 🌟 已经是对我最大的鼓励和支持了。
[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/hugo-fixit/FixIt)

{{< details "如果你喜爱这个主题,请考虑给我买杯咖啡 ☕️。" >}}
{{< reward wechatpay="/images/wechatpay.jpg" alipay="/images/alipay.jpg" comment="⚡️ 为爱发电,谢谢大家!❤️" mode="fixed" >}}
{{< sponsor-log >}}
{{< /details >}}

## 许可协议

FixIt 根据 **MIT** 许可协议授权。更多信息请查看看 [LICENSE 文件](https://github.com/hugo-fixit/FixIt/blob/master/LICENSE)
如果你喜欢这个主题,别忘了留下一颗 ⭐️ 哦,谢谢!
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fixit create my-blog
<!-- markdownlint-disable search-replace -->

{{< admonition danger "提醒" >}}
CLI 假定你事先了解 Hugo 和 FixIt。如果你是 Hugo 或 FixIt 的新手,我们强烈建议你在使用 CLI 之前先阅读 [主题文档](./..),不要使用任何脚手架工具。
CLI 假定你事先了解 Hugo 和 FixIt。如果你是 Hugo 或 FixIt 的新手,我们强烈建议你在使用 CLI 之前先阅读 [主题文档](../..),不要使用任何脚手架工具。
{{< /admonition >}}

## 比较
Expand Down
1 change: 0 additions & 1 deletion content/zh-cn/faq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
title: 常见问答
date: 2019-08-02T11:04:49+08:00
comment: false
pageStyle: wide
lightgallery: true
---

Expand Down
6 changes: 3 additions & 3 deletions content/zh-cn/tests/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion data/friends.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Binary file modified static/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/favicon.ico
Binary file not shown.
Binary file modified static/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
48 changes: 30 additions & 18 deletions static/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions static/site.webmanifest
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 039a095

Please sign in to comment.