Skip to content

Commit

Permalink
variables: fix returned type
Browse files Browse the repository at this point in the history
fix hexojs#1567, #3038
  • Loading branch information
noraj authored Nov 22, 2020
1 parent 64a68e9 commit 40bafd7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/docs/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ Lodash has been removed from global variables since Hexo 5.0.0. [You-Dont-Need-L

Variable | Description | Type
--- | --- | ---
`site.posts` | All posts | `array` of `post` objects
`site.pages` | All pages | `array` of `page` objects
`site.posts` | All posts | [Query][queryo] object
`site.pages` | All pages | [Query][queryo] object
`site.categories` | All categories | `array` of ???
`site.tags` | All tags | `array` of ???

[queryo]:http://hexojs.github.io/warehouse/Query.html

### Page Variables

**Article (`page`)**
Expand Down

0 comments on commit 40bafd7

Please sign in to comment.