Size Chart
{% if page.content != blank %}
<p>Debug: {{ page.content }}</p>
<table class="size-chart-table">
<thead>
<tr>
<th>Size</th>
<th>Bust (in)</th>
<th>Shoulder (in)</th>
<th>Sleeve (in)</th>
<th>Hip (in)</th>
<th>Length (in)</th>
</tr>
</thead>
<tbody>
{% assign size_lines = page.content | strip | split: ' ' %}
{% for i in (0..size_lines.size) by 6 %}
{% assign size = size_lines[i] %}
{% if size == 'S' or size == 'M' or size == 'L' or size == 'XL' %}
<tr>
<td>{{ size_lines[i] }}</td>
<td>{{ size_lines[i+1] | remove: '"' }}</td>
<td>{{ size_lines[i+2] | remove: '"' }}</td>
<td>{{ size_lines[i+3] | remove: '"' }}</td>
<td>{{ size_lines[i+4] | remove: '"' }}</td>
<td>{{ size_lines[i+5] | remove: '"' }}</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
{% else %}
<p>No size chart available.</p>
{% endif %}