Created
December 26, 2015 13:20
-
-
Save Phlow/d116d6bb750bf0139ade 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