{% set_title %}

Use this tag to set the browser title for the current page

Syntax

{% set_title expression %}

Examples

Template: {% set_title page.browser_title | prepend: " | " | prepend: site.name %}
Or: {% capture pageTitle %}{{ site.name }} | {{ page.browser_title }}{% endcapture %}{% set_title pageTitle %}
Output: [site.name] | [page.browser_title]

Developer Overview

Liquid Markup