Hi,
I was trying to add a “paged” class to the body tag when the page number is greater than 1.
<body class="nav-closed {{ if and .isHome (gt .Paginator.PageNumber 1) }}paged{{ end }}">
and it led to “an incomplete or empty template”.
Thanks for advice.