Menu
Squirrel LogoSquirrellyDocs (v7)AboutLearnBlogPlayground
Docs (v8)CommunityFeedbackGitHub
Squirrel LogoSquirrelly
  • Docs (v7)
  • About
  • Learn
  • Blog
  • Playground
  • Docs (v8)
  • Community
  • Feedback
  • GitHub
  • Get Started
    • Overview
    • Installation
    • Security
  • Template Syntax
    • Syntax Overview
    • Cheatsheet
    • Global References
    • Helper References
    • Filters
    • Helpers
    • Partials
    • Custom Tags / Delimeters
    • Built-in Helpers
  • API
    • autoEscaping
    • Compile
    • defaultTags
    • defineFilter
    • defineHelper
    • defineNativeHelper
    • definePartial
    • load
    • Render
    • renderFile
    • setDefaultFilters

Partials

#Basic Syntax

Partials are implemented behind-the-scenes as native helpers, and the syntax is the same as a self-closing helper.

{{include("mypartial")/}}
OR
{{include(mypartial)/}}
OR
{{include('mypartial')/}}

#Example

{{include(header)/}}
Previous

« Helpers

Next

Custom Tags / Delimeters »

  • Basic Syntax
  • Example