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(helpers/open_graph): Fix incorrect default value and unintended rendering #2156

Merged
merged 2 commits into from
Apr 3, 2024
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
4 changes: 2 additions & 2 deletions source/docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -920,13 +920,13 @@ Inserts [Open Graph] data.
Option | Description | Default
--- | --- | ---
`title` | Page title (`og:title`) | `page.title`
`type` | Page type (`og:type`) | blog
`type` | Page type (`og:type`) | article(post page)<br>website(non-post page)
`url` | Page URL (`og:url`) | `url`
`image` | Page images (`og:image`) | All images in the content
`author` | Article author (`og:article:author`) | `config.author`
`date` | Article published time (`og:article:published_time`) | Page published time
`updated` | Article modified time (`og:article:modified_time`) | Page modified time
`language` | Article language (`og:locale`) | `page.lang || page.language || config.language`
`language` | Article language (`og:locale`) | `page.lang \|\| page.language \|\| config.language`
`site_name` | Site name (`og:site_name`) | `config.title`
`description` | Page description (`og:description`) | Page excerpt or first 200 characters of the content
`twitter_card` | Twitter card type (`twitter:card`) | summary
Expand Down
4 changes: 2 additions & 2 deletions source/ja/docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -918,13 +918,13 @@ Google検索フォームを挿入します。
オプション | 説明 | デフォルト
--- | --- | ---
`title` | ページタイトル (`og:title`) | `page.title`
`type` | ページタイプ (`og:type`) | blog
`type` | ページタイプ (`og:type`) | article(記事ページ)<br>website(記事ページ以外)
`url` | ページURL (`og:url`) | `url`
`image` | ページ画像 (`og:image`) | コンテンツ内の全画像
`author` | 記事の著者 (`og:article:author`) | `config.author`
`date` | 記事の公開時刻 (`og:article:published_time`) | ページの公開時刻
`updated` | 記事の更新時刻 (`og:article:modified_time`) | ページの更新時刻
`language` | 記事の言語 (`og:locale`) | `page.lang || page.language || config.language`
`language` | 記事の言語 (`og:locale`) | `page.lang \|\| page.language \|\| config.language`
`site_name` | サイト名 (`og:site_name`) | `config.title`
`description` | ページの説明 (`og:description`) | ページの抜粋またはコンテンツの最初の200文字
`twitter_card` | Twitter カードタイプ (`twitter:card`) | summary
Expand Down
4 changes: 2 additions & 2 deletions source/ko/docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -754,13 +754,13 @@ Inserts [generator tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Elemen
옵션 | 설명 | 기본 값
--- | --- | ---
`title` | 페이지 제목 (`og:title`) | `page.title`
`type` | 페이지 형태 (`og:type`) | blog
`type` | 페이지 형태 (`og:type`) | article(post page)<br>website(non-post page)
`url` | 페이지 URL (`og:url`) | `url`
`image` | 페이지 커버 (`og:image`) | All images in the content
`author` | Article author (`og:article:author`) | `config.author`
`date` | Article published time (`og:article:published_time`) | Page published time
`updated` | Article modified time (`og:article:modified_time`) | Page modified time
`language` | Article language (`og:locale`) | `page.lang || page.language || config.language`
`language` | Article language (`og:locale`) | `page.lang \|\| page.language \|\| config.language`
`site_name` | 사이트 이름 (`og:site_name`) | `config.title`
`description` | 페이지 설명 (`og:description`) | Page excerpt or first 200 characters of the content
`twitter_card` | Twitter card type (`twitter:card`) | summary
Expand Down
4 changes: 2 additions & 2 deletions source/pt-br/docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -759,13 +759,13 @@ Insere dados do [Open Graph].
Opção | Descrição | Padrão
--- | --- | ---
`title` | Título da página (`og:title`) | `page.title`
`type` | Tipo de página (`og:type`) | blog
`type` | Tipo de página (`og:type`) | article(post page)<br>website(non-post page)
`url` | URL da página (`og:url`) | `url`
`image` | Capa da página (`og:image`) | All images in the content
`author` | Article author (`og:article:author`) | `config.author`
`date` | Article published time (`og:article:published_time`) | Page published time
`updated` | Article modified time (`og:article:modified_time`) | Page modified time
`language` | Article language (`og:locale`) | `page.lang || page.language || config.language`
`language` | Article language (`og:locale`) | `page.lang \|\| page.language \|\| config.language`
`site_name` | Nome do site (`og:site_name`) | `config.title`
`description`| Descrição da página (`og:description`) | Trecho da página ou os 200 primeiros caracteres do conteúdo
`twitter_card` | Tipo de Twitter card (`twitter:card`) | summary
Expand Down
4 changes: 2 additions & 2 deletions source/ru/docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -788,13 +788,13 @@ Inserts time tag. `date` can be unix time, ISO string, date object, or [Moment.j
Опция | Описание | Значение по умолчанию
--- | --- | ---
`title` | Заголовок страницы (`og:title`) | `page.title`
`type` | Тип страницы (`og:type`) | blog
`type` | Тип страницы (`og:type`) | article(post page)<br>website(non-post page)
`url` | URL-адрес страницы (`og:url`) | `url`
`image` | Обложка страницы (`og:image`) | Все изображения в материалах
`author` | Автор статьи (`og:article:author`) | `config.author`
`date` | Время публикации статьи (`og:article:published_time`) | Время публикации страницы
`updated` | Время изменения статьи (`og:article:modified_time`) | Время изменения страницы
`language` | Язык статьи (`og:locale`) | `page.lang || page.language || config.language`
`language` | Язык статьи (`og:locale`) | `page.lang \|\| page.language \|\| config.language`
`site_name` | Имя сайта (`og:site_name`) | `config.title`
`description` | Описание страницы (`og:description`) | Отрывок страницы или первые 200 символов содержимого
`twitter_card` | Карточка Twitter (`twitter:card`) | Краткое изложение
Expand Down
4 changes: 2 additions & 2 deletions source/th/docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -806,13 +806,13 @@ Inserts [generator tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Elemen
Option | Description | Default
--- | --- | ---
`title` | Page title (`og:title`) | `page.title`
`type` | Page type (`og:type`) | blog
`type` | Page type (`og:type`) | article(post page)<br>website(non-post page)
`url` | Page URL (`og:url`) | `url`
`image` | Page images (`og:image`) | All images in the content
`author` | Article author (`og:article:author`) | `config.author`
`date` | Article published time (`og:article:published_time`) | Page published time
`updated` | Article modified time (`og:article:modified_time`) | Page modified time
`language` | Article language (`og:locale`) | `page.lang || page.language || config.language`
`language` | Article language (`og:locale`) | `page.lang \|\| page.language \|\| config.language`
`site_name` | Site name (`og:site_name`) | `config.title`
`description` | Page description (`og:description`) | Page excerpt or first 200 characters of the content
`twitter_card` | Twitter card type (`twitter:card`) | summary
Expand Down
4 changes: 2 additions & 2 deletions source/zh-cn/docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -902,13 +902,13 @@ url: https://example.com/blog # example
参数 | 描述 | 默认值
--- | --- | ---
`title` | 页面标题 (`og:title`) | `page.title`
`type` | 页面类型 (`og:type`) | blog
`type` | 页面类型 (`og:type`) | article(post page)<br>website(non-post page)
`url` | 页面网址 (`og:url`) | `url`
`image` | 页面图片 (`og:image`) | 内容中的图片
`author` | 文章作者 (`og:article:author`) | `config.author`
`date` | 文章发表时间 (`og:article:published_time`) | 页面发表时间
`updated` | 文章修改时间 (`og:article:modified_time`) | 页面修改时间
`language` | 文章语言 (`og:locale`) | `page.lang || page.language || config.language`
`language` | 文章语言 (`og:locale`) | `page.lang \|\| page.language \|\| config.language`
`site_name` | 网站名称 (`og:site_name`) | `config.title`
`description` | 页面描述 (`og:description`) | 内容摘要或前 200 字
`twitter_card` | Twitter 卡片类型 (`twitter:card`) | summary
Expand Down
4 changes: 2 additions & 2 deletions source/zh-tw/docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,13 +778,13 @@ Inserts [generator tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Elemen
選項 | 描述 | 預設值
--- | --- | ---
`title` | 頁面標題 (`og:title`) | `page.title`
`type` | 頁面類型 (`og:type`) | blog
`type` | 頁面類型 (`og:type`) | article(post page)<br>website(non-post page)
`url` | 頁面網址 (`og:url`) | `url`
`image` | 頁面圖片 (`og:image`) | 內容中的圖片
`author` | Article author (`og:article:author`) | `config.author`
`date` | Article published time (`og:article:published_time`) | Page published time
`updated` | Article modified time (`og:article:modified_time`) | Page modified time
`language` | Article language (`og:locale`) | `page.lang || page.language || config.language`
`language` | Article language (`og:locale`) | `page.lang \|\| page.language \|\| config.language`
`site_name` | 網站名稱 (`og:site_name`) | `config.title`
`description` | 頁面描述 (`og:description`) | 內容摘要或前 200 字
`twitter_card` | Twitter 卡片類型 (`twitter:card`) | summary
Expand Down