Info Page Title¶
Use info_page_title
module to insert a title of a currently viewed info page and is only available within them. To see the list of your info pages and manage them visit /configInfoPages/list
in the admin panel.
Configuration parameters¶
none
Module source code¶
{% set page = ObjectApi.getPage(page_id) %}
{% set shopUrls = ObjectApi.getShopUrls() %}
<header class="info-page-title">{{ page.name }}</header>
<script type="application/ld+json">
{
"@context": [
"http://schema.org/",
{ "@base": "{{ shopUrls.mainPageUrl.absolute }}" }
],
"@id": "{{ page.url.relative }}",
"@type": "Article",
"headline": "{{ page.name }}"
}
</script>