diff --git a/source/docs/variables.md b/source/docs/variables.md index e74edf1b4f..e9f378898b 100644 --- a/source/docs/variables.md +++ b/source/docs/variables.md @@ -54,9 +54,9 @@ Variable | Description | Type Variable | Description | Type --- | --- | --- -`page.published` | True if the post is not a draft | `boolean` -`page.categories` | All categories of the post | `array` of ??? -`page.tags` | All tags of the post | `array` of ??? +`post.published` | True if the post is not a draft | `boolean` +`post.categories` | All categories of the post | `array` of ??? +`post.tags` | All tags of the post | `array` of ??? **Home (`index`)** diff --git a/source/ko/docs/variables.md b/source/ko/docs/variables.md index e221b0f63f..710859eec5 100644 --- a/source/ko/docs/variables.md +++ b/source/ko/docs/variables.md @@ -51,9 +51,9 @@ title: Variables 변수 | 설명 --- | --- -`page.published` | Post가 draft상태가 아니라면 true를 반환합니다. -`page.categories` | Post의 모든 카테고리 -`page.tags` | Post의 모든 태그 +`post.published` | Post가 draft상태가 아니라면 true를 반환합니다. +`post.categories` | Post의 모든 카테고리 +`post.tags` | Post의 모든 태그 **Home (index)** @@ -74,7 +74,7 @@ title: Variables 변수 | 설명 --- | --- -`page.archive` | `true`와 동일합니다. +`page.published` | `true`와 동일합니다. `page.year` | 아카이브 연도 (4자리 숫자) `page.month` | 아카이브 월 (0을 제외한 2자리 숫자) diff --git a/source/pt-br/docs/variables.md b/source/pt-br/docs/variables.md index 37cee9d272..975c3e8857 100644 --- a/source/pt-br/docs/variables.md +++ b/source/pt-br/docs/variables.md @@ -54,9 +54,9 @@ Variável | Descrição | Tipo Variável | Descrição | Tipo --- | --- | --- -`page.published` | Verdadeiro se a postagem não for um rascunho | `boolean` -`page.categories` | Todas as categorias da postagem | `array` de ??? -`page.tags` | Todas as tags da postagem | `array` de ??? +`post.published` | Verdadeiro se a postagem não for um rascunho | `boolean` +`post.categories` | Todas as categorias da postagem | `array` de ??? +`post.tags` | Todas as tags da postagem | `array` de ??? **Home (`index`)** diff --git a/source/ru/docs/variables.md b/source/ru/docs/variables.md index 33842b9d23..3eedca8a25 100644 --- a/source/ru/docs/variables.md +++ b/source/ru/docs/variables.md @@ -51,9 +51,9 @@ title: Переменные Переменные | Описание --- | --- -`page.published` | `true`, если пост не проект -`page.categories` | Все категории поста -`page.tags` | Все теги поста +`post.published` | `true`, если пост не проект +`post.categories` | Все категории поста +`post.tags` | Все теги поста **Главная страница (index)** diff --git a/source/th/docs/variables.md b/source/th/docs/variables.md index fd115da21e..a17fde9531 100644 --- a/source/th/docs/variables.md +++ b/source/th/docs/variables.md @@ -54,9 +54,9 @@ Variable | Description | Type Variable | Description | Type --- | --- | --- -`page.published` | True if the post is not a draft | `boolean` -`page.categories` | All categories of the post | `array` of ??? -`page.tags` | All tags of the post | `array` of ??? +`post.published` | True if the post is not a draft | `boolean` +`post.categories` | All categories of the post | `array` of ??? +`post.tags` | All tags of the post | `array` of ??? **หน้าหลัก (`index`)** diff --git a/source/zh-cn/docs/variables.md b/source/zh-cn/docs/variables.md index 37a23070a3..bcdfabb4a9 100644 --- a/source/zh-cn/docs/variables.md +++ b/source/zh-cn/docs/variables.md @@ -51,9 +51,9 @@ title: 变量 变量 | 描述 | 类型 --- | --- | --- -`page.published` | 如果该文章已发布则为 true | `boolean` -`page.categories` | 该文章的所有分类 | `array` of ??? -`page.tags` | 该文章的所有标签 | `array` of ??? +`post.published` | 如果该文章已发布则为 true | `boolean` +`post.categories` | 该文章的所有分类 | `array` of ??? +`post.tags` | 该文章的所有标签 | `array` of ??? **首页(`index`)** diff --git a/source/zh-tw/docs/variables.md b/source/zh-tw/docs/variables.md index 504a276013..0f3dcfd4d2 100644 --- a/source/zh-tw/docs/variables.md +++ b/source/zh-tw/docs/variables.md @@ -49,6 +49,14 @@ title: 變數 `page.photos` | 文章的照片(用於相簿) `page.link` | 文章的外連連結(用於連結文章) +**Post (`post`):** Same as `page` layout but add the following variables. + +Variable | Description | Type +--- | --- | --- +`post.published` | True if the post is not a draft | `boolean` +`post.categories` | All categories of the post | `array` of ??? +`post.tags` | All tags of the post | `array` of ??? + **首頁(index)** 變數 | 描述 @@ -85,4 +93,4 @@ title: 變數 `tag` | 標籤名稱 [Lodash]: http://lodash.com/ -[Moment.js]: http://momentjs.com/ \ No newline at end of file +[Moment.js]: http://momentjs.com/