{{metaDescription}} helper

Helper for generating description meta tag. Publii takes the text from the SEO settings of the current post, page, tag or author, or from the defaults in Site Settings, and the helper outputs nothing on pages set to noindex.

Syntax:

{{metaDescription}}

Example:

<meta name="description" content="Lorem ipsum dolor sit amet" />

Should be used in the <head> section of the website.

Create your first website with Publii

Join thousands of creators who chose independence. Create content locally and publish lightning-fast, secure websites on your own terms.

Download Publii

Free and open source. Windows, macOS and Linux.

Read the getting started guide