after searching around for awhile I still cannot find a clear answer to templating Supertables within a matrix field.
I have a field called 'about' which is the matrix field, within that there is a block called 'biography' which holds both a Rich Text Field called 'copy', and a SuperTable field called hgroup, within hgroup there is a plain text field called heading. How do I go about outputting these within the template.
There are other blocks, similar to 'biography', but I'm encountering the same issue with them.
I'm still very new to CraftCMS so some of this has me puzzled.
{% block content %}
{% for block in entry.about %}
{% switch entry.about %}
{% case 'biography' %}
<section>
<div class="contain">
<article>
{% for row in entry.hgroup %}
<header>
<h3>{{ entry.heading }}</h3>
</header>
{% endfor %}
{{ entry.copy }}
</article>
</div>
</section>
{% endswitch %}
{% endfor %}
{% endblock %}
Thanks.