---
title: "page_title"

doc_type: static
doc_category: static
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/sline/object/page-title'
  md: 'https://developer.shopline.com/docs/sline/object/page-title.md'
---

# page_title


    The title of the current page.

    You can use the `page_title` object to specify the page title used in search engine listings and social media previews. If the page is not associated with any resource handle, the `page_title` object returns the store name.





    
## Example

        
            

            The following example sets the `og:title` property of the `meta` tag to specify the title displayed when sharing a page on social media.


            

            
<SlineExample path={'/products/earring-ab001'} objects={ 
    [""] 
}>
```sline
<meta property="og:title" content="{{page_title}}" />
```
</SlineExample>
            
        
    
