Range breaking main page

I’m trying to display a list of my last 10 pages on main index so I tried something like

<div>
        {{ range first 10 .Pages }}
            {{ .Render "single"}}
        {{ end }}
      </div>

but is breaking my header
you can take a look here: http://muzzol.cat/blog/
I’m using min_night theme

The page got a few HTML errors it seems. Is it perhaps the <script> tag between <head> and <body> that causes the behaviour that you call ‘breaking the header’?

If the problem isn’t caused by that, I think the community needs a bit more information to provide meaningful help. Have you looked at requesting help? That topic has some good suggestions that make it easier for us to help you. With better information I think you can get a good solution much quicker. :slight_smile: