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    

content

{{content}} Helper - Output a post's content

Usage: {{content}}

Type
Parameters
Attributes

n/a

  • words (number)
  • characters (number) [defaults to show all]

Description

{{content}} is a very simple helper used for outputting post content. It makes sure that your HTML gets output correctly.

You can limit the amount of HTML content to output by passing one of the options:

{{content words="100"}} will output just 100 words of HTML with correctly matched tags.

content

{{content}} Helper - Output a post's content