{% load humfrey_elasticsearch %} {% with facet.meta.terms.field as field_name %}

{{ facet_name|capfirst }}

{% endwith %}