The Ghost Themes Developer Hub

Welcome to the Ghost Themes developer hub. You'll find comprehensive guides and documentation to help you start working with Ghost Themes as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

url

{{url}} Helper - Get the url for the current object scope

Usage: {{url}}

Type
Parameters
Attributes

n/a

  • absolute (boolean)

Description

{{url}} outputs the relative url for a post when inside the post scope.

You can force the url helper to output an absolute url by using the absolute option, E.g. {{url absolute="true"}}

url

{{url}} Helper - Get the url for the current object scope