0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Salesforceサイトにファビコンを設定する

Last updated at Posted at 2023-01-06

サイトに設定する

設定 > サイト
編集画面の「サイトのお気に入りアイコン」に静的リソースにアップロードしたicoファイルを指定する。
静的リソースのキャッシュコントロールは公開に設定しておく。

コミュニティサイトに設定する

コミュニティビルダー > 設定 > 詳細 > ヘッドマークアップを編集
下記を追加

<link rel="icon" href="{basePath}/sfsites/c/resource/静的リソースのパス/favicon.ico?{versionKey}" type="image/x-icon">
<link rel="apple-touch-icon-precomposed" href="{basePath}/sfsites/c/resource/静的リソースのパス/apple-touch-icon-precomposed.png?{versionKey}">

rel="apple-touch-icon-precomposed"はiPhoneのWebクリップ用のアイコン。サイトのリンクをiPhoneのホーム画面に追加した際、表示される。

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?