Skip to content

Commit

Permalink
Merge pull request #1099 from curbengh/encoded-url
Browse files Browse the repository at this point in the history
docs: site.url, page.permalink & post.permalink are url-encoded
  • Loading branch information
curbengh authored Oct 16, 2019
2 parents 9873dad + 5c67a02 commit 87ffc74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/docs/variables.md
Original file line number Diff line number Diff line change
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 87ffc74

Please sign in to comment.