Hello All,
I’m trying to check whether a page is a regular content page. Check is handled within a partial template which is then included in both list and single pages, but in list pagination, it showing IsPage as true.
IsPage - {{ .IsPage }}
{{ range .Paginator.Pages.ByPublishDate.Reverse }}
{{ if ne .Type "page" }}
<section class="post post-list">
<h1><a href="{{- .Permalink }}">{{- .Title }}</a></h1>
IsPage - {{ .IsPage }}
</section>
{{ end }}
{{ end }}