I am understanding Data Files. I understood, I can use first 10 to get first 10.
{{ range first 10 $.Site.Data.jazz.bass }}
{{ partial "artist.html" . }}
{{ end }}
Is there any way to iterate and get next 10 or from the range of 15 -25 data.
I am understanding Data Files. I understood, I can use first 10 to get first 10.
{{ range first 10 $.Site.Data.jazz.bass }}
{{ partial "artist.html" . }}
{{ end }}
Is there any way to iterate and get next 10 or from the range of 15 -25 data.
If you use the latest dev version you can combine with after and last.
Without these, it gets kind of hackish with some if statements.