Nested Data

GAX SSG

Nested Data

Nested Data (Deep)

GAX supports unlimited nesting:


info:
  home:
    item:
      - title: item title
        list:
          - text: hello
            music:
              - genre: pop

Template:


{% for item in info.home.item %}
  {{ item.title }}
  {% for l in item.list %}
    {{ l.text }}
    {% for m in l.music %}
      {{ m.genre }}
    {% endfor %}
  {% endfor %}
{% endfor %}

GAX GO Static Site Generator Built with GAX