diff --git a/_includes/template.html b/_includes/template.html index fb7b70f..9dcce5f 100644 --- a/_includes/template.html +++ b/_includes/template.html @@ -93,15 +93,37 @@ {%- for component in allSelections %} - {% if component.id == current_id %} - - {% for example in component.examples %} + {% if component.id == current_id %} + + {% assign grouped_examples = component.examples | group_by: "group" %} + + {% for group in grouped_examples %} + + {% if group.name != "" %} + + + + {% for example in group.items %} + + + + {% endfor %} - + - {% endfor %} + {% else %} - {% endif %} + {% for example in group.items %} + + + + {% endfor %} + + {% endif %} + + {% endfor %} + + {% endif %} {%- endfor %} @@ -748,6 +770,10 @@

Properties

{%- endif %} -

Report Issues

+
+ +

Report Issues

+ +

Find a bug? Want a new feature? Report it on JIRA. You're so awesome!

-

Find a bug? Want a new feature? Report it on JIRA. You're so awesome!

\ No newline at end of file +
\ No newline at end of file