Skip to content

Instantly share code, notes, and snippets.

@chrisheuberger
chrisheuberger / nb-forloops.md
Last active May 22, 2019 21:37
NationBuilder For Loops
  1. You could use a forloop to access a page's children with the the page.children object.

    So this would go in the parent page’s template:

    {% for page in page.children %}
      {{ page.slug }}
    {% endfor %}