Liquid Template Variables - page title

From Spiffy Stores Knowledge Base

Revision as of 13:09, 25 June 2018 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The Liquid template variable page_title returns the current page title.

You would most likely use this in your theme.liquid file to provide a unique page title for each of your pages.

<head>
<title>{{shop.name}} - {{page_title}}</title>
...
</head>

Further Reference