Lava Filters - Page
Category:Other
Description:Returns information about the current page.
Input: None
Lava: Title: {{ 'Global' | Page:'Title' }}
BrowserTitle: {{ 'Global' | Page:'BrowserTitle' }} (v9)
Description: {{ 'Global' | Page:'Description' }} (v7 +)
URL: {{ 'Global' | Page:'Url' }}
Page Id: {{ 'Global' | Page:'Id' }}
Host: {{ 'Global' | Page:'Host' }}
Path: {{ 'Global' | Page:'Path' }}
Site Name: {{ 'Global' | Page:'SiteName' }}
Site Id: {{ 'Global' | Page:'SiteId' }}
Theme: {{ 'Global' | Page:'Theme' }}
Layout: {{ 'Global' | Page:'Layout' }}
Scheme: {{ 'Global' | Page:'Scheme' }}
Cookies: {{ 'Global' | Page:'Cookies' }} (v8.4)
{% assign queryParms = 'Global' | Page:'QueryString' %}
Query Parms
{% for item in queryParms %}
{% assign kvItem = item | PropertyToKeyValue %}
{{ kvItem.Key }}: {{ kvItem.Value }}
{% endfor %}
Output: Title: Home
BrowserTitle: Home of the Browser's Title
Description: This is the page description
URL: http://localhost:6229/page/1
Page Id: 1
Host: localhost
Path: /page/1
Site Name: External Website
Site Id: 3
Theme: Stark
Layout: Homepage
Scheme: http
Query Parms
Id: 12
SomeOtherId: 23