Skip to content

Commit

Permalink
docs: mention the mask icon resource
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jan 20, 2023
1 parent e52e43a commit ea4cc09
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
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

0 comments on commit ea4cc09

Please sign in to comment.