Data files pagination #1820
Closed
Data files pagination #1820
Labels
Comments
{% for datafile in site.data %}
{% endfir %} Doesn't work for you? |
Not that. Look at http://expo.getbootstrap.com/. It has entries, but like posts. Why not use data files instead? So, I want to paginate entries. |
I'm really not sure what you're talking about specifically. You can iterate over the entries in a YAML data file: {% for expo in site.data.expos %}
{% include expo.html %} <!-- use {{ expo }} in your include -->
{% endfor %} Your |
Like post pagination. If I make gallery, I want to make pages for that gallery, not to be on one page. |
That can't be done with |
:( |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Yup, like for posts — data file entries paginated.
The text was updated successfully, but these errors were encountered: