https://docs.magento.com/m2/ce/user_guide/design/html-head.html
HTML Head
The settings in the Head section correspond to the <head>
tag of an HTML page, and can be configured for each store view. In addition to meta data for the page title, description, and keywords, the section includes a link to the , and miscellaneous scripts. Instructions for search engine robots and the display of the store demo notice are also configured in this section.
HTMLのHeadセクションは<head>タグに対応し、各ストアビューごとに構成されます。タイトル等のページメタ情報に加えて、faviconリンクやスクリプトを含み、検索エンジンのロボットへの情報提供等もこのセクションで構成されます。
To configure the HTML Head:
|
1. |
On the Admin sidebar, tap Content. Then under Design, choose Configuration.
[コンテンツ]>[デザイン]>[設定]
|
|
2. |
Find the store view that you want to configure. Then in the Action column, click Edit.
構成したいストアビューを探して、[アクション]列の[編集]
|
|
3. |
Under Other Settings, expand the HTML Head section.
[その他の設定]の[HTMLヘッダ]
|
|
4. |
Update the fields as needed. (See the following Field Descriptions for more information about each item.) |
|
5. |
When complete, tap Save Config. |
-
Field Descriptions
Favicon Icon
|
Store View
|
Uploads the small graphic image that appears in the address bar and tab of the browser. Allowed file types: ICO, PNG, APNG, GIF, and JPG (JPEG).
Not all browsers support these formats.
|
Default Page Title
|
Store View
|
The title that appears at the title bar of each page when viewed in a browser. The default title is used for all pages, unless another title is specified for individual pages.
|
Page Title Prefix
|
Store View
|
A prefix can be added before the title to create a two- or three-part title. A vertical bar or colon can be used as a separator at the end of the prefix to differentiate it from the text of the main title.
|
Page Title Suffix
|
Store View
|
A suffix can be added after the title to create a two-or three part title. A vertical bar or colon can be used as a separator at the end of the prefix to differentiate it from the text of the main title.
|
Default Meta Description
|
Store View
|
The description provides a summary of your site for search engine listings and should not be more than 160 characters in length.
|
Default Meta Keywords
|
Store View
|
A series of keywords that describe your store, each separated by a comma.
|
Scripts and Style Sheets
|
Store View
|
Contains scripts that must be included in the HTML before the closing <head> tag. For example, any third-party JavaScript that must be placed before the <body> tag can be entered here.
|
Display Demo Store Notice
|
Store View
|
Controls the display of the demo store notice at the top of the page. Options include: Yes / No
|
コメントは受け付けていません。