How to Skip first X amount of posts in list?

I’m trying to output the first three posts of my site one way on the home page, followed by some other content, and then the next three posts which will be styled another way (also of the type ‘post’). Is there some modification I could make like below to achieve this or am I thinking about it the wrong way (I just started looking into/trying to work with Hugo yesterday)?

{{ range .Data.Pages }}
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p>{{ .Description }}</p>	    
{{ end }}

////// Some other content goes here /////////////

// Below is the next three posts, skipping the first three above
{{ range SOMETHING? .Data.Pages }}
<h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p>{{ .Description }}</p>	    
{{ end }}

Hugo 0.15 should be out tomorrow. It will include an after template function that will work like this:

{{ range after 10 .Data.Pages }}
    {{ .Render "title" }}
{{ end }}
3 Likes

That’s exactly what I needed. Thank you!