R
R
RoadMoscow2018-07-31 14:45:12
MODX
RoadMoscow, 2018-07-31 14:45:12

How to display text on the first page with pagination?

Hello. There is a site on MODx Revo. I'm confused, I can't figure out how to display the text on the first page, and not display it on the rest of the pagination pages. This is a type for SEO so that there is no duplicate text.
This is how I get the page number, but this construction netrefuses to work.
Please tell me your version or how to finish mine so that it works))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
RoadMoscow, 2018-07-31
@RoadMoscow

Decided with Fenom

{if $.get['page']}
{else}
    {$_modx->resource.content}
{/if}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question