Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: mention the mask icon resource #854

Merged
merged 1 commit into from
Jan 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion exampleSite/content/docs/look-and-feel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ However, the default scheme cannot satisfy everyone, but don't worry, you can ea
## Favicons

HBS generates icons in multiple sizes base on the file `assets/favicon.webp` (higher priority) or `assets/favicon.png`.

Just save your own favicon image as the same path to override the defaults.

You'll need to override the mask icon `assets/safari-pinned-tab.svg` as well.

> The static icons `static/images/icons/icon-{size}.png` have higher priority for backwards compatibility.
### Custom Sizes
Expand Down
3 changes: 2 additions & 1 deletion exampleSite/content/docs/look-and-feel/index.zh-hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ authors = ["RazonYang"]
## Favicons

HBS 会根据 `assets/favicon.webp`(更高的优先权)或 `assets/favicon.png` 自动生成不同尺寸的图标文件。

只需将自己的收藏夹图像保存为相同路径即可覆盖默认的图片。

您还需要覆盖 mask 图标 `assets/safari pined tab.svg`

> 静态图标 `static/images/icons/icon-{size}.png` 拥有更高的优先权,以向后兼容。
### 自定义大小
Expand Down
3 changes: 2 additions & 1 deletion exampleSite/content/docs/look-and-feel/index.zh-hant.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ authors = ["RazonYang"]
## Favicons

HBS 會根據 `assets/favicon.webp`(更高的優先權)或 `assets/favicon.png` 自動生成不同尺寸的圖標文件。

只需將自己的我的最愛影像保存為相同路徑即可覆蓋默認的圖片。

您還需要覆蓋 mask 圖標 `assets/safari pined tab.svg`

> 靜態圖標 `static/images/icons/icon-{size}.png` 擁有更高的優先權,以向後兼容。
### 自定義大小
Expand Down