0
Fork 0
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:
Martijn Swaagman 2014-05-22 21:06:26 +02:00
parent 38f1e5f38e
commit 83742837c2

View file

@ -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