Liquid Template Variables - page title: Difference between revisions

From Spiffy Stores Knowledge Base
Jump to: navigation, search
Admin (talk | contribs)
New page: The '''page_title''' variable 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 pag...
 
Admin (talk | contribs)
mNo edit summary
Line 1: Line 1:
The '''page_title''' variable returns the current page title.
The Liquid template variable '''page_title''' returns the current page title.


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

Revision as of 13:06, 6 November 2013

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>