-
{% for group in site.data.rules.groups %}
-
{% assign nbrRules = 0 %}
{% for service in group.services %}
{% for exporter in service.exporters %}
{% for rule in exporter.rules %}
{% assign nbrRules = nbrRules | plus: 1 %}
{% endfor %}
{% endfor %}
{% endfor %}
<h3>{{ group.name }} <small style="margin-left: 20px;">({{ nbrRules }} rules)</small></h3> <ul> {% for service in group.services %} <li> <a href="/rules#{{ service.name | replace: " ", "-" | downcase }}"> {{ service.name }} </a> </li> {% endfor %} </ul>
{% endfor %}