Hello everybody. Please help to output custom content on only 1 page. That is, there is no need to display content on pages with pagination.
{{ if not .Paginator.HasPrev }}
{{ .Content }}
{{ end }}
I found such variant, is this good way?
Hello everybody. Please help to output custom content on only 1 page. That is, there is no need to display content on pages with pagination.
{{ if not .Paginator.HasPrev }}
{{ .Content }}
{{ end }}
I found such variant, is this good way?