Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

l10n(zh-TW): New translations from Crowdin #2339

Merged
merged 1 commit into from
Feb 11, 2025
Merged
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
14 changes: 8 additions & 6 deletions source/zh-tw/docs/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ Lodash has been removed from global variables since Hexo 5.0.0. [You-Dont-Need-L

### Site Variables

| 變數 | 描述 | Type |
| ----------------- | ---- | ------------------------- |
| `site.posts` | 所有文章 | `array` of `post` objects |
| `site.pages` | 所有分頁 | `array` of `page` objects |
| `site.categories` | 所有分類 | `array` of ??? |
| `site.tags` | 所有標籤 | `array` of ??? |
| 變數 | 描述 | Type |
| ----------------- | ---- | ---------------------- |
| `site.posts` | 所有文章 | [Query][queryo] object |
| `site.pages` | 所有分頁 | [Query][queryo] object |
| `site.categories` | 所有分類 | [Query][queryo] object |
| `site.tags` | 所有標籤 | [Query][queryo] object |

### 頁面變數

Expand Down Expand Up @@ -96,6 +96,8 @@ Lodash has been removed from global variables since Hexo 5.0.0. [You-Dont-Need-L
| ---------- | ---- | -------- |
| `page.tag` | 標籤名稱 | `string` |

[queryo]: https://hexojs.github.io/warehouse/classes/query.default.html

[Moment.js]: http://momentjs.com/
[Site Variables]: #Site-Variables
[Page Variables]: #Page-Variables