Usage: {{ghost_head}} and {{ghost_foot}}
Description
These helpers output vital system information at the top and bottom of the document, and provide hooks to inject additional scripts and styles.
ghost_head
{{ghost_head}} – belongs just before the </head> tag in default.hbs, outputs the following:
- Meta description
- Structured data Shema.org microformats in JSON/LD - no need to clutter your theme markup!
- Structured data tags for Facebook Open Graph and Twitter Cards.
- RSS url paths to make your feeds easily discoverable by external readers.
- Scripts to enable the Ghost API (if enabled in labs)
- Canonical link to equivalent
amppost (if enabled in apps) - Anything added in the
Code Injectionsection globally, or at a page-level
ghost_foot
{{ghost_foot}} – belongs just before the </body> tag in default.hbs, outputs the following:
- Anything added in the
Code Injectionsection globally, or at a page-level