mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
[docs] absolute=true will add options.hash
Ran into this will calling the helper from a theme, tried to get the absolute url, but just providing {{url absolute}} wasn't enough. After explicitly adding `=true` it worked.
This commit is contained in:
parent
38f1e5f38e
commit
83742837c2
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ coreHelpers.pageUrl = function (context, block) {
|
|||
//
|
||||
// *Usage example:*
|
||||
// `{{url}}`
|
||||
// `{{url absolute}}`
|
||||
// `{{url absolute=true}}`
|
||||
//
|
||||
// Returns the URL for the current object context
|
||||
// i.e. If inside a post context will return post permalink
|
||||
|
|
Loading…
Add table
Reference in a new issue