-
-
Save lesssummer/1bfec30988166c82e8aa943d657dfb29 to your computer and use it in GitHub Desktop.
Loop through all collections of a Jekyll website
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% for c in site.collections %} | |
| {% assign docs=c[1].docs %} | |
| {% for doc in docs %} | |
| // do something | |
| {% endfor %} | |
| {% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment