diff --git a/templates/hostlist_template.html b/templates/hostlist_template.html
index 15ecff7..a1549c5 100644
--- a/templates/hostlist_template.html
+++ b/templates/hostlist_template.html
@@ -182,6 +182,24 @@
{{ role }}
{% endfor %}
+ Grains
+
+ {% for grain, value in data|dictsort %}
+ - {{ grain }}:
+ {% if value is string %}
+ {{ value }}
+ {% elif value is iterable %}
+
+ {% for u in value %}
+ - {{ u }}
+ {% endfor %}
+
+ {% else %}
+ {{ value }}
+ {% endif %}
+
+ {% endfor %}
+