diff --git a/_includes/cardv2.html b/_includes/cardv2.html index 86f6e3f0..de676e9a 100644 --- a/_includes/cardv2.html +++ b/_includes/cardv2.html @@ -1,11 +1,47 @@
{{include.description}}
+ {% if include.labels %}
+ {% assign labels = include.labels | replace:", ", "," | split:"," %}
+ {% for label in labels %}
+ {% assign label_data = label | split:":" %}
+ {% assign color = label_data[0] %}
+ {% assign text = label_data[1] %}
+ {% assign tooltip = label_data[2] | default: false %}
+ {% assign help_icon = '' %}
+ {{text}} {{ help_icon
+ }}
+ {% else %}
+ >{{text}}
+ {% endif %}
+
+ {% endfor %}
+ {% endif %}