Strange error

Nothing urgent since this error pops up once every two weeks and goes away when I rebuild my blog. It’s on the custom Now page but I don’t understand what it means. Everything renders fine on the webpage and elsewhere even when that error shows up.

There’s definitely some kind of error in that layout. That looks a lot like my code for my now page…

here are the docs for first with examples.

I handle my now page using layouts/_default/term.html (which means my URL is /categories/now which you probably don’t want) and here’s how I do it:

  {{ if eq .Data.Term "now" }}
    {{ range last 1 .Data.Pages.ByDate }}
    {{ - end }}
{{ end }}

I’m using a “Now” category. This is how the top of my code looks like: