Для поисковой оптимизации (SEO) рекомендуется изменить заголовок, описание и тег h1 на каждой странице списка, например, новостей. Для этого достаточно добавить, например, страницу 2 в конец. Как это сделать в пагинации списка новостей на сайте? Все метаописания можно сделать разными на всех страницах пагинации.
...
<f:if condition="{overwriteDemand.tags}">
<f:then>
<f:for each="{tags}" as="tag">
<f:if condition="{tag.uid} == {overwriteDemand.tags}">
<f:if condition="{tag.seotitle}">
<n:titleTag>
<f:format.htmlentitiesDecode>{tag.seotitle}{f:if(condition: '{pagination.currentPage} > 1', then: ' 🗏 {pagination.currentPage}')}</f:format.htmlentitiesDecode>
</n:titleTag>
<n:metaTag property="og:title" content="{tag.seotitle -> f:format.stripTags()}{f:if(condition: '{pagination.currentPage} > 1', then: ' страница {pagination.currentPage}')}" />
</f:if>
<f:if condition="{tag.seodescription}">
<n:metaTag name="description" content="{tag.seodescription -> f:format.stripTags()}{f:if(condition: '{pagination.currentPage} > 1', then: ' 🗏 {pagination.currentPage}')}" />
<n:metaTag property="og:description" content="{tag.seodescription -> f:format.stripTags()}{f:if(condition: '{pagination.currentPage} > 1', then: ' страница {pagination.currentPage}')}" />
</f:if>
<f:render partial="List/Schema" arguments="{_all}"/>
</f:if>
</f:for>
</f:then>
<f:else>
<f:if condition="{pagination.currentPage} > 1">
<n:titleTag>{pageData.seo_title} {f:if(condition: '{pagination.currentPage} > 1', then: '🗏 {pagination.currentPage}')}</n:titleTag>
<n:metaTag property="og:title" content="{pageData.seo_title -> f:format.stripTags()}{f:if(condition: '{pagination.currentPage} > 1', then: ' страница {pagination.currentPage}')}" />
<n:metaTag name="description" content="{pageData.description}{f:if(condition: '{pagination.currentPage} > 1', then: ' 🗏 {pagination.currentPage}')}" />
<n:metaTag property="og:description" content="{pageData.description -> f:format.stripTags()}{f:if(condition: '{pagination.currentPage} > 1', then: ' страница {pagination.currentPage}')}" />
</f:if>
</f:else>
</f:if>
...
H1 для тэгов вызывает сложности:
<f:if condition="{tags}">
<f:if condition="{overwriteDemand.tags}">
<f:else>
<div class="frame frame-size-default frame-default frame-type-header frame-layout-embedded frame-background-secondary frame-no-backgroundimage frame-space-before-none frame-space-after-none"><div class="frame-group-container"><div class="frame-group-inner"><div class="frame-container frame-container-default"><div class="frame-inner"><header class="frame-header"><h1 class="element-header text-center"><span>Портфолио типографии «Арт полиграфия»</span></h1></header></div></div></div></div></div>
<header class="frame-header">
<h2 class="element-subheader tag-header">
<small class="text-muted">{data.description -> f:format.stripTags()}Широкоформатная, интерьерная, офсетная, цифровая печать.</small>
</h2>
</header>
</f:else>
</f:if>
<f:for each="{tags}" as="tag">
<f:if condition="{tag.uid} == {overwriteDemand.tags}">
<div class="frame frame-size-default frame-default frame-type-header frame-layout-embedded frame-background-secondary frame-no-backgroundimage frame-space-before-none frame-space-after-none"><div class="frame-group-container"><div class="frame-group-inner"><div class="frame-container frame-container-default"><div class="frame-inner"><header class="frame-header"><h1 class="element-header text-center"><span> <f:if condition="{tag.seoheadline}">
<f:then>
<f:format.stripTags>{tag.seoheadline}</f:format.stripTags>
</f:then>
<f:else>
<f:format.stripTags>Портфолио типографии «Арт полиграфия»</f:format.stripTags>
</f:else>
</f:if></span></h1></header></div></div></div></div></div>
<header class="frame-header">
<f:if condition="{tag.seodescription}">
<h2 class="element-subheader tag-header">
<small class="text-muted">{tag.seodescription -> f:format.stripTags()}</small>
</h2>
</f:if>
</header>
</f:if>
</f:for>
...
