Skip to content

Commit

Permalink
docs: site.url, page.permalink & post.permalink are url-encoded
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh committed Sep 20, 2019
1 parent 5a72299 commit c4fe5f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/docs/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Variable | Description | Type
`theme` | Theme configuration. Inherits from site configuration. | `object` (your theme's _config file)
`_` (single underscore) | Lodash library | see [Lodash](https://lodash.com/ 'Lodash') documentation
`path` | Path of current page | `string`
`url` | Full URL of current page | `string`
`url` | Full (encoded) URL of current page | `string`
`env` | Environment variables | ???

### Site Variables
Expand Down Expand Up @@ -43,7 +43,7 @@ Variable | Description | Type
`page.source` | The path of the source file | `string`
`page.full_source` | Full path of the source file | `string`
`page.path` | The URL of the article without root URL. We usually use `url_for(page.path)` in theme. | `string`
`page.permalink` | Full URL of the article | `string`
`page.permalink` | Full (encoded) URL of the article | `string`
`page.prev` | The previous post, `null` if the post is the first post | ???
`page.next` | The next post, `null` if the post is the last post | ???
`page.raw` | The raw data of the article | ???
Expand Down

0 comments on commit c4fe5f0

Please sign in to comment.